From 717356ac4ec989d601919d9f932692982594513a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 3 Aug 2012 23:42:14 +0300 Subject: Fix unassign key button. --- src/gui/setup_input.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/setup_input.cpp') 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); } -- cgit v1.2.3-70-g09d2