summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-03 23:42:14 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-03 23:42:14 +0300
commit717356ac4ec989d601919d9f932692982594513a (patch)
treebb2c075c0284101d0d27155a66a1befd258396fe /src
parent6d9594ba889b6885169be2f6f044797e62a5545a (diff)
downloadplus-717356ac4ec989d601919d9f932692982594513a.tar.gz
plus-717356ac4ec989d601919d9f932692982594513a.tar.bz2
plus-717356ac4ec989d601919d9f932692982594513a.tar.xz
plus-717356ac4ec989d601919d9f932692982594513a.zip
Fix unassign key button.
Diffstat (limited to 'src')
-rw-r--r--src/gui/setup_input.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/setup_input.cpp b/src/gui/setup_input.cpp
index dac4e19ad..c1722b6a5 100644
--- a/src/gui/setup_input.cpp
+++ b/src/gui/setup_input.cpp
@@ -261,6 +261,7 @@ void Setup_Input::action(const gcn::ActionEvent &event)
inputManager.setNewKeyIndex(ik);
refreshAssignedKey(mKeyList->getSelected());
inputManager.unassignKey();
+ inputManager.setNewKeyIndex(Input::KEY_NO_VALUE);
}
mAssignKeyButton->setEnabled(true);
}