From 994726dd8d7f9907c18b63d8393ad0e1b3f4c75c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ed=C3=AAnis=20Freindorfer=20Azevedo?= Date: Tue, 18 Feb 2020 17:51:18 -0300 Subject: [PATCH] Do not pause while opening configuration windows. The only configuration that we cannot change while playing is the sound driver. All the others should be changeable without any major issues. --- src/wx/wxvbam.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wx/wxvbam.cpp b/src/wx/wxvbam.cpp index e367fb66..76c8e517 100644 --- a/src/wx/wxvbam.cpp +++ b/src/wx/wxvbam.cpp @@ -1110,10 +1110,10 @@ void MainFrame::MenuPopped(wxMenuEvent& evt) if (popped) panel->ShowPointer(); - if (menus_opened) - panel->Pause(); - else if (!IsPaused()) - panel->Resume(); + //if (menus_opened) + // panel->Pause(); + //else if (!IsPaused()) + // panel->Resume(); } void MainFrame::SetMenusOpened(bool state) @@ -1155,7 +1155,7 @@ void MainFrame::StartModal() // pointer when dialog popped up // it will auto-hide again once game resumes panel->ShowPointer(); - panel->Pause(); + //panel->Pause(); ++dialog_opened; }