summaryrefslogtreecommitdiff
path: root/src/citra_qt/main.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2015-04-30 19:58:26 -0400
committerGravatar bunnei2015-05-01 18:35:55 -0400
commit85cc81d8cc51738e0a025b8fe447173323f1db13 (patch)
tree2fba4b63c7204dca9e166ceff47176c4259e066f /src/citra_qt/main.cpp
parentQt: Fixed a bug in shutdown procedure, various cleanups. (diff)
downloadyuzu-85cc81d8cc51738e0a025b8fe447173323f1db13.tar.gz
yuzu-85cc81d8cc51738e0a025b8fe447173323f1db13.tar.xz
yuzu-85cc81d8cc51738e0a025b8fe447173323f1db13.zip
Qt: Disable "Start" unless we are paused (it otherwise has no meaning and causes a crash).
Diffstat (limited to 'src/citra_qt/main.cpp')
-rw-r--r--src/citra_qt/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp
index c3e637792..a3e98abfe 100644
--- a/src/citra_qt/main.cpp
+++ b/src/citra_qt/main.cpp
@@ -249,7 +249,7 @@ void GMainWindow::ShutdownGame() {
249 System::Shutdown(); 249 System::Shutdown();
250 250
251 // Update the GUI 251 // Update the GUI
252 ui.action_Start->setEnabled(true); 252 ui.action_Start->setEnabled(false);
253 ui.action_Pause->setEnabled(false); 253 ui.action_Pause->setEnabled(false);
254 ui.action_Stop->setEnabled(false); 254 ui.action_Stop->setEnabled(false);
255 render_window->hide(); 255 render_window->hide();