mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Qt: Fix game not getting paused when exit prompt is open
This commit is contained in:
parent
a68b8202e1
commit
7931d2d00d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user