scroll to insert widget at import copy
This commit is contained in:
parent
b458850877
commit
1be0c054e4
1 changed files with 6 additions and 0 deletions
|
@ -168,6 +168,9 @@ void ProfileInterface::insertSnapmaticIPI(QWidget *widget)
|
|||
#endif
|
||||
int picIndex = pictureKeyList.indexOf(QRegExp(widgetKey));
|
||||
ui->vlSnapmatic->insertWidget(picIndex, proWidget);
|
||||
|
||||
qApp->processEvents();
|
||||
ui->saProfile->ensureWidgetVisible(proWidget, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -182,6 +185,9 @@ void ProfileInterface::insertSavegameIPI(QWidget *widget)
|
|||
qSort(savegameKeyList.begin(), savegameKeyList.end());
|
||||
int sgdIndex = savegameKeyList.indexOf(QRegExp(widgetKey));
|
||||
ui->vlSavegame->insertWidget(sgdIndex, proWidget);
|
||||
|
||||
qApp->processEvents();
|
||||
ui->saProfile->ensureWidgetVisible(proWidget, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue