Qt/MainWindow: Don't unpause after confirming shutdown
There's no good reason to do this, as it just causes running signals to be sent as the core is shutting down.
This commit is contained in:
parent
51a219c54d
commit
408029e8a3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue