mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Give focus to Ok button after adding a folder
This commit is contained in:
parent
2c96599327
commit
52f6b9a635
@ -113,6 +113,12 @@ void RiuMultiCaseImportDialog::on_m_addSearchFolderButton_clicked()
|
||||
}
|
||||
|
||||
RiaApplication::instance()->setDefaultFileDialogDirectory("MULTICASEIMPORT", selectedFolder);
|
||||
|
||||
QPushButton* okButton = ui->m_dialogButtons->button(QDialogButtonBox::Ok);
|
||||
if (okButton)
|
||||
{
|
||||
okButton->setFocus(Qt::OtherFocusReason);
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user