diff options
Diffstat (limited to 'src/actionmanager.cpp')
-rw-r--r-- | src/actionmanager.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp index 0c2814d75..c751c9530 100644 --- a/src/actionmanager.cpp +++ b/src/actionmanager.cpp @@ -60,6 +60,7 @@ #include "gui/windows/setupwindow.h" #include "gui/windows/shopwindow.h" #include "gui/windows/shortcutwindow.h" +#include "gui/windows/updaterwindow.h" #include "gui/widgets/tabs/chattab.h" @@ -863,6 +864,15 @@ impHandler0(questsWindowShow) return true; } +impHandler0(updaterWindowShow) +{ + if (updaterWindow) + updaterWindow->deleteSelf(); + else + Game::createUpdaterWindow(); + return true; +} + impHandler0(changeMapMode) { if (viewport) |