Game list: propely hide on toggling window mode

Properly hides the game list upon toggling from external
window mode to single window mode. Previously, both the game
list and the render window would have been shown at the same
time upon toggling.
This commit is contained in:
archshift 2015-10-06 12:20:26 -07:00
parent 87eca546b2
commit 2ce2e05db0
1 changed files with 1 additions and 0 deletions

View File

@ -458,6 +458,7 @@ void GMainWindow::ToggleWindowMode() {
if (emulation_running) { if (emulation_running) {
render_window->setVisible(true); render_window->setVisible(true);
render_window->setFocus(); render_window->setFocus();
game_list->hide();
} }
} else { } else {