Merge pull request #7741 from Techjar/no-resume-on-stop

Qt/MainWindow: Don't unpause after confirming shutdown
This commit is contained in:
Connor McLaughlin
2019-01-26 23:48:52 +10:00
committed by GitHub

View File

@ -766,11 +766,13 @@ bool MainWindow::RequestStop()
"before it completes. Force stop?") :
tr("Do you want to stop the current emulation?"));
if (pause)
Core::SetState(state);
if (confirm != QMessageBox::Yes)
{
if (pause)
Core::SetState(state);
return false;
}
}
// TODO: Add Movie shutdown