summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/MainWindow.cpp
diff options
context:
space:
mode:
authorJules Blok <jules.blok@gmail.com>2017-06-27 18:15:11 +0200
committerGitHub <noreply@github.com>2017-06-27 18:15:11 +0200
commit43dba0cb47dd9e06404ce0e51b5bd539f6a8d8fd (patch)
tree45f369a26468c8a1e6388031fa8ad1b16f882856 /Source/Core/DolphinQt2/MainWindow.cpp
parent94ba78d71701bab19362d49bc2700912bc5c7991 (diff)
parentfeb67a3953bddd6ed14e013d28b4e9542b0ea545 (diff)
Merge pull request #5709 from spycrab/qt_sd_pausefix
Qt: Fix emulation not returning to its original state when aborting s…
Diffstat (limited to 'Source/Core/DolphinQt2/MainWindow.cpp')
-rw-r--r--Source/Core/DolphinQt2/MainWindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp
index 92a7ec0020..2e89eb5679 100644
--- a/Source/Core/DolphinQt2/MainWindow.cpp
+++ b/Source/Core/DolphinQt2/MainWindow.cpp
@@ -301,11 +301,11 @@ bool MainWindow::Stop()
"may be lost if you stop the current emulation "
"before it completes. Force stop?") :
tr("Do you want to stop the current emulation?"));
- if (confirm != QMessageBox::Yes)
- return false;
-
if (pause)
Core::SetState(state);
+
+ if (confirm != QMessageBox::Yes)
+ return false;
}
// TODO: Add Movie shutdown