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/gui/windows/shortcutwindow.cpp | |
parent | 81bd48dee406603164f35170bb2aa1e82c9fc338 (diff) | |
download | manaverse-54af8ce9c6d972580d2935498e563988450b94f6.tar.gz manaverse-54af8ce9c6d972580d2935498e563988450b94f6.tar.bz2 manaverse-54af8ce9c6d972580d2935498e563988450b94f6.tar.xz manaverse-54af8ce9c6d972580d2935498e563988450b94f6.zip |
add actions for select next/previous tab in shortcuts window.
Diffstat (limited to 'src/gui/windows/shortcutwindow.cpp')
-rw-r--r-- | src/gui/windows/shortcutwindow.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gui/windows/shortcutwindow.cpp b/src/gui/windows/shortcutwindow.cpp index 1d9fa88c2..5cf2ad7df 100644 --- a/src/gui/windows/shortcutwindow.cpp +++ b/src/gui/windows/shortcutwindow.cpp @@ -234,6 +234,18 @@ void ShortcutWindow::widgetMoved(const gcn::Event& event) (*it)->setRedraw(true); } +void ShortcutWindow::nextTab() +{ + if (mTabs) + mTabs->selectNextTab(); +} + +void ShortcutWindow::prevTab() +{ + if (mTabs) + mTabs->selectPrevTab(); +} + #ifdef USE_PROFILER void ShortcutWindow::logicChildren() { |