Skip to content
Permalink
Browse files
Merge pull request #7741 from Techjar/no-resume-on-stop
Qt/MainWindow: Don't unpause after confirming shutdown
  • Loading branch information
stenzek committed Jan 26, 2019
2 parents cf6eb3d + 408029e commit ff5e296
Showing 1 changed file with 5 additions and 3 deletions.
@@ -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

0 comments on commit ff5e296

Please sign in to comment.