Added logic to force raise of Qt family keyboard dialog to top of window stack after key map dialog closes. Fixes irregular window focus issue on mac OS.

This commit is contained in:
mjbudd77 2022-03-09 19:42:30 -05:00
parent c327dcd009
commit 795173b662
1 changed files with 7 additions and 0 deletions

View File

@ -345,6 +345,9 @@ void FamilyKeyboardWidget::ctxMapPhysicalKey(void)
if ( fkbWin )
{
fkbWin->updateBindingList();
fkbWin->show();
fkbWin->activateWindow();
fkbWin->raise();
}
}
//*********************************************************************************
@ -1018,6 +1021,10 @@ void FKBConfigDialog::keyTreeItemActivated(QTreeWidgetItem *item, int column)
mapDialog->enterButtonLoop();
updateBindingList();
show();
activateWindow();
raise();
}
//----------------------------------------------------------------------------
int FKBConfigDialog::getButtonIndexFromName( const char *buttonName )