Permalink
Browse files

Qt: Fix game not getting paused when exit prompt is open

  • Loading branch information...
spycrab committed May 25, 2018
1 parent a68b820 commit 7931d2d00de1d93fe03372cf4fc81bc4f4c8b3a6
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit 7931d2d

Please sign in to comment.