diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-18 19:47:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-18 19:47:28 +0300 |
commit | 7da95c7f4da447876458a0b1a17736b9a2865844 (patch) | |
tree | 4b6ac0ab5bc32a11234a5363de95d0cfec8cb7d5 /src/gui/gui.cpp | |
parent | 515ce6c1413b5e3da131f3e4997abdc39c003a2c (diff) | |
download | manaplus-7da95c7f4da447876458a0b1a17736b9a2865844.tar.gz manaplus-7da95c7f4da447876458a0b1a17736b9a2865844.tar.bz2 manaplus-7da95c7f4da447876458a0b1a17736b9a2865844.tar.xz manaplus-7da95c7f4da447876458a0b1a17736b9a2865844.zip |
Move inputaction into separate file.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<int>(Input::KEY_GUI_TAB) + == static_cast<int>(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(); |