Merge pull request #7741 from Techjar/no-resume-on-stop
Qt/MainWindow: Don't unpause after confirming shutdown
This commit is contained in:
commit
ff5e296576
|
@ -766,12 +766,14 @@ bool MainWindow::RequestStop()
|
|||
"before it completes. Force stop?") :
|
||||
tr("Do you want to stop the current emulation?"));
|
||||
|
||||
if (confirm != QMessageBox::Yes)
|
||||
{
|
||||
if (pause)
|
||||
Core::SetState(state);
|
||||
|
||||
if (confirm != QMessageBox::Yes)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: Add Movie shutdown
|
||||
// TODO: Add Debugger shutdown
|
||||
|
|
Loading…
Reference in New Issue