diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-02 16:57:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-02 16:57:51 +0300 |
commit | ef1a1be4a87913ed5c50eb10401622275da1c842 (patch) | |
tree | ed5d8c834fc7772df069f5b44d2ffba1f991579f /src/actionmanager.cpp | |
parent | 54af8ce9c6d972580d2935498e563988450b94f6 (diff) | |
download | manaverse-ef1a1be4a87913ed5c50eb10401622275da1c842.tar.gz manaverse-ef1a1be4a87913ed5c50eb10401622275da1c842.tar.bz2 manaverse-ef1a1be4a87913ed5c50eb10401622275da1c842.tar.xz manaverse-ef1a1be4a87913ed5c50eb10401622275da1c842.zip |
add actions for select next/previous tab in spells/commands window.
Diffstat (limited to 'src/actionmanager.cpp')
-rw-r--r-- | src/actionmanager.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp index ce01bc8d6..8f0f3db2c 100644 --- a/src/actionmanager.cpp +++ b/src/actionmanager.cpp @@ -1169,4 +1169,24 @@ impHandler0(prevShortcutsTab) return false; } +impHandler0(nextCommandsTab) +{ + if (spellShortcutWindow) + { + spellShortcutWindow->nextTab(); + return true; + } + return false; +} + +impHandler0(prevCommandsTab) +{ + if (spellShortcutWindow) + { + spellShortcutWindow->prevTab(); + return true; + } + return false; +} + } // namespace ActionManager |