From 3fde8a7f15452826caed43341e49b9a293d3c8b3 Mon Sep 17 00:00:00 2001 From: Vamsi Krishna Date: Sun, 18 Dec 2016 14:43:06 +0530 Subject: [PATCH] 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. --- src/citra_qt/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index ad6221739..1e3a0e9d8 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -390,6 +390,7 @@ void GMainWindow::BootGame(const std::string& filename) { game_list->hide(); } render_window->show(); + render_window->setFocus(); emulation_running = true; OnStartGame();