diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-05-25 03:53:05 +0200 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2018-05-25 03:53:05 +0200 |
| commit | 7931d2d00de1d93fe03372cf4fc81bc4f4c8b3a6 (patch) | |
| tree | 0994bfec74e4f43eaabfdee6ef100f1f6ca3b0ff /Source | |
| parent | a68b8202e11b65cf7aee4345c859b6036144a213 (diff) | |
Qt: Fix game not getting paused when exit prompt is open
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/DolphinQt2/MainWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
