mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
Qt: refocus UI when unloading core/content
This commit is contained in:
parent
bf084da088
commit
f2f37a3309
@ -2565,6 +2565,8 @@ void MainWindow::onStopClicked()
|
|||||||
menu_navigation_set_selection(0);
|
menu_navigation_set_selection(0);
|
||||||
command_event(CMD_EVENT_UNLOAD_CORE, NULL);
|
command_event(CMD_EVENT_UNLOAD_CORE, NULL);
|
||||||
setCurrentCoreLabel();
|
setCurrentCoreLabel();
|
||||||
|
activateWindow();
|
||||||
|
raise();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::setCurrentCoreLabel()
|
void MainWindow::setCurrentCoreLabel()
|
||||||
@ -2662,6 +2664,8 @@ void MainWindow::onUnloadCoreMenuAction()
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
action->setEnabled(false);
|
action->setEnabled(false);
|
||||||
|
activateWindow();
|
||||||
|
raise();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::onLoadCoreClicked(const QStringList &extensionFilters)
|
void MainWindow::onLoadCoreClicked(const QStringList &extensionFilters)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user