summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/actionmanager.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp
index 91773983e..6a5c6900f 100644
--- a/src/actionmanager.cpp
+++ b/src/actionmanager.cpp
@@ -715,8 +715,12 @@ impHandler0(skillDialogShow)
impHandler0(minimapWindowShow)
{
- showHideWindow(minimap);
- return true;
+ if (minimap)
+ {
+ minimap->toggle();
+ return true;
+ }
+ return false;
}
impHandler0(chatWindowShow)