diff options
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r-- | src/actions/actions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index 87c63407d..6c1025650 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -420,9 +420,9 @@ impHandler0(quit) { if (Game::instance() == nullptr) return false; - if ((popupManager != nullptr) && popupManager->isPopupMenuVisible()) + if (PopupManager::isPopupMenuVisible()) { - popupManager->closePopupMenu(); + PopupManager::closePopupMenu(); return true; } else if (quitDialog == nullptr) |