mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-28 10:39:42 +00:00
Make sure that Open button becomes focused after enabling
This commit is contained in:
parent
b0930158df
commit
d5bbd75828
1 changed files with 2 additions and 0 deletions
|
@ -177,6 +177,8 @@ void CSVDoc::FileDialog::slotUpdateAcceptButton(const QString& name, bool)
|
|||
mAdjusterWidget->setName("", true);
|
||||
|
||||
ui.projectButtonBox->button(QDialogButtonBox::Ok)->setEnabled(success);
|
||||
if (success)
|
||||
ui.projectButtonBox->button(QDialogButtonBox::Ok)->setFocus();
|
||||
}
|
||||
|
||||
QString CSVDoc::FileDialog::filename() const
|
||||
|
|
Loading…
Reference in a new issue