summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-09 15:36:51 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-09 15:36:51 +0300
commit443813146a327504a07a507f43117d92296ca8a7 (patch)
tree073f9dcbc4b776675e299f5c5c9df1555cf73ee6 /src/gui
parente11249023c8945fb817469b3b4362dcd8c2fd9f0 (diff)
downloadplus-443813146a327504a07a507f43117d92296ca8a7.tar.gz
plus-443813146a327504a07a507f43117d92296ca8a7.tar.bz2
plus-443813146a327504a07a507f43117d92296ca8a7.tar.xz
plus-443813146a327504a07a507f43117d92296ca8a7.zip
Move getting keys from game to keyboard config.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/setup_keyboard.cpp2
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")