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 | |
parent | 6d9594ba889b6885169be2f6f044797e62a5545a (diff) | |
download | manaplus-717356ac4ec989d601919d9f932692982594513a.tar.gz manaplus-717356ac4ec989d601919d9f932692982594513a.tar.bz2 manaplus-717356ac4ec989d601919d9f932692982594513a.tar.xz manaplus-717356ac4ec989d601919d9f932692982594513a.zip |
Fix unassign key button.
Diffstat (limited to 'src')
-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); } |