diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-05-20 18:29:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-05-20 18:29:50 +0300 |
commit | 59eee3c29a818fbae8d844c0036d1f894905c179 (patch) | |
tree | 91771c6a69ff6b099a1aa6128753284e9f0999ed | |
parent | 01077c93c2b416a7d949ea46d9026906551d1d3d (diff) | |
download | manaplus-59eee3c29a818fbae8d844c0036d1f894905c179.tar.gz manaplus-59eee3c29a818fbae8d844c0036d1f894905c179.tar.bz2 manaplus-59eee3c29a818fbae8d844c0036d1f894905c179.tar.xz manaplus-59eee3c29a818fbae8d844c0036d1f894905c179.zip |
Fix minimap show/hide on windows.
-rw-r--r-- | src/actionmanager.cpp | 8 |
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) |