From feb67a3953bddd6ed14e013d28b4e9542b0ea545 Mon Sep 17 00:00:00 2001 From: spycrab Date: Tue, 27 Jun 2017 18:06:27 +0200 Subject: [PATCH] Qt: Fix emulation not returning to its original state when aborting shutdown --- Source/Core/DolphinQt2/MainWindow.cpp | 6 +++--- 1 file 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