mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-25 21:41:04 +00:00
Make sure that Open button becomes focused after enabling
This commit is contained in:
parent
b0930158df
commit
d5bbd75828
@ -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…
x
Reference in New Issue
Block a user