diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-03 23:42:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-03 23:42:14 +0300 |
commit | 717356ac4ec989d601919d9f932692982594513a (patch) | |
tree | bb2c075c0284101d0d27155a66a1befd258396fe /src/gui/setup_input.cpp | |
parent | 6d9594ba889b6885169be2f6f044797e62a5545a (diff) | |
download | plus-717356ac4ec989d601919d9f932692982594513a.tar.gz plus-717356ac4ec989d601919d9f932692982594513a.tar.bz2 plus-717356ac4ec989d601919d9f932692982594513a.tar.xz plus-717356ac4ec989d601919d9f932692982594513a.zip |
Fix unassign key button.
Diffstat (limited to 'src/gui/setup_input.cpp')
-rw-r--r-- | src/gui/setup_input.cpp | 1 |
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); } |