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
2 changed files with 4 additions and 1 deletions
|
@ -249,7 +249,7 @@ void GMainWindow::ShutdownGame() {
|
|||
System::Shutdown();
|
||||
|
||||
// Update the GUI
|
||||
ui.action_Start->setEnabled(true);
|
||||
ui.action_Start->setEnabled(false);
|
||||
ui.action_Pause->setEnabled(false);
|
||||
ui.action_Stop->setEnabled(false);
|
||||
render_window->hide();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue