summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-20 18:29:50 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-20 18:29:50 +0300
commit59eee3c29a818fbae8d844c0036d1f894905c179 (patch)
tree91771c6a69ff6b099a1aa6128753284e9f0999ed
parent01077c93c2b416a7d949ea46d9026906551d1d3d (diff)
downloadmv-59eee3c29a818fbae8d844c0036d1f894905c179.tar.gz
mv-59eee3c29a818fbae8d844c0036d1f894905c179.tar.bz2
mv-59eee3c29a818fbae8d844c0036d1f894905c179.tar.xz
mv-59eee3c29a818fbae8d844c0036d1f894905c179.zip
Fix minimap show/hide on windows.
-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)