summaryrefslogtreecommitdiff
path: root/src/actionmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-21 23:53:20 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-22 12:23:26 +0300
commit5dd673aa6abe2a070de45388a885d03fcc037d70 (patch)
treeb5bf80507501e7b77c4dbdbfc39989ebd6209a20 /src/actionmanager.cpp
parent66bc17a4099842f9a54c13c183842f561d63963f (diff)
downloadmanaverse-5dd673aa6abe2a070de45388a885d03fcc037d70.tar.gz
manaverse-5dd673aa6abe2a070de45388a885d03fcc037d70.tar.bz2
manaverse-5dd673aa6abe2a070de45388a885d03fcc037d70.tar.xz
manaverse-5dd673aa6abe2a070de45388a885d03fcc037d70.zip
allow open updater window from inside game.
Diffstat (limited to 'src/actionmanager.cpp')
-rw-r--r--src/actionmanager.cpp10
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)