mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-22 11:30:05 +00:00
Qt: Disable "Start" unless we are paused (it otherwise has no meaning and causes a crash).
This commit is contained in:
parent
bc41de2131
commit
85cc81d8cc
@ -249,7 +249,7 @@ void GMainWindow::ShutdownGame() {
|
|||||||
System::Shutdown();
|
System::Shutdown();
|
||||||
|
|
||||||
// Update the GUI
|
// Update the GUI
|
||||||
ui.action_Start->setEnabled(true);
|
ui.action_Start->setEnabled(false);
|
||||||
ui.action_Pause->setEnabled(false);
|
ui.action_Pause->setEnabled(false);
|
||||||
ui.action_Stop->setEnabled(false);
|
ui.action_Stop->setEnabled(false);
|
||||||
render_window->hide();
|
render_window->hide();
|
||||||
|
@ -90,6 +90,9 @@
|
|||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="action_Start">
|
<action name="action_Start">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>&Start</string>
|
<string>&Start</string>
|
||||||
</property>
|
</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user