Qt: Clear axis direction when setting a button value (fixes #179)

This commit is contained in:
Jeffrey Pfau 2015-01-04 22:35:41 -08:00
parent c96c1f6211
commit ac686e3942
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ void KeyEditor::setValueKey(int key) {
void KeyEditor::setValueButton(int button) {
m_button = true;
m_direction = InputController::NEUTRAL;
setValue(button);
}