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.
This commit is contained in:
parent
54335dc67c
commit
994726dd8d
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue