diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-09 15:36:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-09 15:36:51 +0300 |
commit | 443813146a327504a07a507f43117d92296ca8a7 (patch) | |
tree | 073f9dcbc4b776675e299f5c5c9df1555cf73ee6 /src/gui/setup_keyboard.cpp | |
parent | e11249023c8945fb817469b3b4362dcd8c2fd9f0 (diff) | |
download | mv-443813146a327504a07a507f43117d92296ca8a7.tar.gz mv-443813146a327504a07a507f43117d92296ca8a7.tar.bz2 mv-443813146a327504a07a507f43117d92296ca8a7.tar.xz mv-443813146a327504a07a507f43117d92296ca8a7.zip |
Move getting keys from game to keyboard config.
Diffstat (limited to 'src/gui/setup_keyboard.cpp')
-rw-r--r-- | src/gui/setup_keyboard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/setup_keyboard.cpp b/src/gui/setup_keyboard.cpp index ef024c5d9..aae1cd183 100644 --- a/src/gui/setup_keyboard.cpp +++ b/src/gui/setup_keyboard.cpp @@ -180,7 +180,7 @@ void Setup_Keyboard::action(const gcn::ActionEvent &event) int i(mKeyList->getSelected()); keyboard.setNewKeyIndex(i); refreshAssignedKey(mKeyList->getSelected()); - keyboard.setNewKey(keyboard.KEY_NO_VALUE); + keyboard.unassignKey(); mAssignKeyButton->setEnabled(true); } else if (event.getId() == "makeDefault") |