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:
Vamsi Krishna 2016-12-18 14:43:06 +05:30 committed by GitHub
parent 20b832cfc1
commit 3fde8a7f15

View File

@ -390,6 +390,7 @@ void GMainWindow::BootGame(const std::string& filename) {
game_list->hide();
}
render_window->show();
render_window->setFocus();
emulation_running = true;
OnStartGame();