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:
parent
c327dcd009
commit
795173b662
|
@ -345,6 +345,9 @@ void FamilyKeyboardWidget::ctxMapPhysicalKey(void)
|
||||||
if ( fkbWin )
|
if ( fkbWin )
|
||||||
{
|
{
|
||||||
fkbWin->updateBindingList();
|
fkbWin->updateBindingList();
|
||||||
|
fkbWin->show();
|
||||||
|
fkbWin->activateWindow();
|
||||||
|
fkbWin->raise();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//*********************************************************************************
|
//*********************************************************************************
|
||||||
|
@ -1018,6 +1021,10 @@ void FKBConfigDialog::keyTreeItemActivated(QTreeWidgetItem *item, int column)
|
||||||
mapDialog->enterButtonLoop();
|
mapDialog->enterButtonLoop();
|
||||||
|
|
||||||
updateBindingList();
|
updateBindingList();
|
||||||
|
|
||||||
|
show();
|
||||||
|
activateWindow();
|
||||||
|
raise();
|
||||||
}
|
}
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
int FKBConfigDialog::getButtonIndexFromName( const char *buttonName )
|
int FKBConfigDialog::getButtonIndexFromName( const char *buttonName )
|
||||||
|
|
Loading…
Reference in New Issue