From 8aa68056aec80c775a3ddb152bea8a90a7097199 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 1 Dec 2014 23:59:31 +0300 Subject: Add actions for switch to next/prev tab in inventory. Keys not assigned. --- src/actions/tabs.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/actions/tabs.cpp') diff --git a/src/actions/tabs.cpp b/src/actions/tabs.cpp index 7ede6e428..eabbd4126 100644 --- a/src/actions/tabs.cpp +++ b/src/actions/tabs.cpp @@ -22,6 +22,7 @@ #include "actions/actiondef.h" +#include "gui/windows/inventorywindow.h" #include "gui/windows/socialwindow.h" #include "gui/windows/shortcutwindow.h" @@ -92,4 +93,16 @@ impHandler0(prevCommandsTab) return false; } +impHandler0(nextInvTab) +{ + InventoryWindow::nextTab(); + return true; +} + +impHandler0(prevInvTab) +{ + InventoryWindow::prevTab(); + return true; +} + } // namespace Actions -- cgit v1.2.3-70-g09d2