diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-24 12:49:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-24 12:49:26 +0300 |
commit | 56bbd3eb0a8a17a02b436488555e2910d2775f10 (patch) | |
tree | 5debc16538652fff8673472c7acbdb110eb6d862 /src/actionmanager.cpp | |
parent | 9c36b0237767cc42bfc74d77935f229f139a6663 (diff) | |
download | plus-56bbd3eb0a8a17a02b436488555e2910d2775f10.tar.gz plus-56bbd3eb0a8a17a02b436488555e2910d2775f10.tar.bz2 plus-56bbd3eb0a8a17a02b436488555e2910d2775f10.tar.xz plus-56bbd3eb0a8a17a02b436488555e2910d2775f10.zip |
Fix hide windows action (default key H)
Now it hide all non dialog windows.
Diffstat (limited to 'src/actionmanager.cpp')
-rw-r--r-- | src/actionmanager.cpp | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp index 08e88c0fc..567bb0647 100644 --- a/src/actionmanager.cpp +++ b/src/actionmanager.cpp @@ -651,34 +651,8 @@ impHandler0(sit) impHandler0(hideWindows) { - if (statusWindow) - statusWindow->setVisible(false); - if (inventoryWindow) - inventoryWindow->setVisible(false); - if (shopWindow) - shopWindow->setVisible(false); - if (skillDialog) - skillDialog->setVisible(false); if (setupWindow) - setupWindow->setVisible(false); - if (equipmentWindow) - equipmentWindow->setVisible(false); - if (helpWindow) - helpWindow->setVisible(false); - if (debugWindow) - debugWindow->setVisible(false); - if (outfitWindow) - outfitWindow->setVisible(false); - if (dropShortcutWindow) - dropShortcutWindow->setVisible(false); - if (spellShortcutWindow) - spellShortcutWindow->setVisible(false); - if (botCheckerWindow) - botCheckerWindow->setVisible(false); - if (socialWindow) - socialWindow->setVisible(false); - if (questsWindow) - questsWindow->setVisible(false); + setupWindow->hideWindows(); return true; } |