mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +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);
|
||||
command_event(CMD_EVENT_UNLOAD_CORE, NULL);
|
||||
setCurrentCoreLabel();
|
||||
activateWindow();
|
||||
raise();
|
||||
}
|
||||
|
||||
void MainWindow::setCurrentCoreLabel()
|
||||
@ -2662,6 +2664,8 @@ void MainWindow::onUnloadCoreMenuAction()
|
||||
return;
|
||||
|
||||
action->setEnabled(false);
|
||||
activateWindow();
|
||||
raise();
|
||||
}
|
||||
|
||||
void MainWindow::onLoadCoreClicked(const QStringList &extensionFilters)
|
||||
|
Loading…
x
Reference in New Issue
Block a user