summaryrefslogtreecommitdiff
path: root/src/gui/setup_input.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/setup_input.cpp')
-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);
}