summaryrefslogtreecommitdiff
path: root/src/gui/windows/shortcutwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-02 16:49:27 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-02 16:49:27 +0300
commit54af8ce9c6d972580d2935498e563988450b94f6 (patch)
tree4e870df77b37c22f874704ab0cbbd554cde79507 /src/gui/windows/shortcutwindow.cpp
parent81bd48dee406603164f35170bb2aa1e82c9fc338 (diff)
downloadplus-54af8ce9c6d972580d2935498e563988450b94f6.tar.gz
plus-54af8ce9c6d972580d2935498e563988450b94f6.tar.bz2
plus-54af8ce9c6d972580d2935498e563988450b94f6.tar.xz
plus-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.cpp12
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()
{