diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-02 16:49:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-02 16:49:27 +0300 |
commit | 54af8ce9c6d972580d2935498e563988450b94f6 (patch) | |
tree | 4e870df77b37c22f874704ab0cbbd554cde79507 /src/actionmanager.cpp | |
parent | 81bd48dee406603164f35170bb2aa1e82c9fc338 (diff) | |
download | manaplus-54af8ce9c6d972580d2935498e563988450b94f6.tar.gz manaplus-54af8ce9c6d972580d2935498e563988450b94f6.tar.bz2 manaplus-54af8ce9c6d972580d2935498e563988450b94f6.tar.xz manaplus-54af8ce9c6d972580d2935498e563988450b94f6.zip |
add actions for select next/previous tab in shortcuts 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 7c370a372..ce01bc8d6 100644 --- a/src/actionmanager.cpp +++ b/src/actionmanager.cpp @@ -1149,4 +1149,24 @@ impHandler0(showWindows) return false; } +impHandler0(nextShortcutsTab) +{ + if (itemShortcutWindow) + { + itemShortcutWindow->nextTab(); + return true; + } + return false; +} + +impHandler0(prevShortcutsTab) +{ + if (itemShortcutWindow) + { + itemShortcutWindow->prevTab(); + return true; + } + return false; +} + } // namespace ActionManager |