From 7da95c7f4da447876458a0b1a17736b9a2865844 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 18 May 2014 19:47:28 +0300 Subject: Move inputaction into separate file. --- src/gui/gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/gui.cpp') diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index b695b669b..6a7727c07 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -439,10 +439,10 @@ bool Gui::handleKeyInput() // tabbing is enable check for tab press and // change focus. if (!eventConsumed && keyInput.getActionId() - == static_cast(Input::KEY_GUI_TAB) + == static_cast(InputAction::GUI_TAB) && keyInput.getType() == KeyInput::PRESSED) { - if (inputManager.isActionActive(Input::KEY_GUI_MOD)) + if (inputManager.isActionActive(InputAction::GUI_MOD)) mFocusHandler->tabPrevious(); else mFocusHandler->tabNext(); -- cgit v1.2.3-70-g09d2