mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-29 16:50:05 +00:00
Updated main.cpp
Fixed render window focus issue. Game_list had full focus until now. This caused issues when, After starting a game, if we pressed down+enter, the game list would then load the second game from list. By using setfocus() , render window focus was fixed. Thanks to @jroweboy for helping.
This commit is contained in:
parent
20b832cfc1
commit
3fde8a7f15
@ -390,6 +390,7 @@ void GMainWindow::BootGame(const std::string& filename) {
|
|||||||
game_list->hide();
|
game_list->hide();
|
||||||
}
|
}
|
||||||
render_window->show();
|
render_window->show();
|
||||||
|
render_window->setFocus();
|
||||||
|
|
||||||
emulation_running = true;
|
emulation_running = true;
|
||||||
OnStartGame();
|
OnStartGame();
|
||||||
|
Loading…
Reference in New Issue
Block a user