From 7931d2d00de1d93fe03372cf4fc81bc4f4c8b3a6 Mon Sep 17 00:00:00 2001 From: spycrab Date: Fri, 25 May 2018 03:53:05 +0200 Subject: [PATCH] Qt: Fix game not getting paused when exit prompt is open --- Source/Core/DolphinQt2/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp index 66129e1fb6..89d0b7775c 100644 --- a/Source/Core/DolphinQt2/MainWindow.cpp +++ b/Source/Core/DolphinQt2/MainWindow.cpp @@ -601,7 +601,7 @@ bool MainWindow::RequestStop() const Core::State state = Core::GetState(); // Only pause the game, if NetPlay is not running - bool pause = Settings::Instance().GetNetPlayClient() != nullptr; + bool pause = !m_netplay_dialog->isVisible(); if (pause) Core::SetState(Core::State::Paused);