Qt: Fix clearing analog shortcuts
Jeffrey Pfau jeffrey@endrift.com
Tue, 19 May 2015 20:04:20 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
M
src/platform/qt/ShortcutController.cpp
→
src/platform/qt/ShortcutController.cpp
@@ -228,8 +228,8 @@ item->setButton(button);
if (oldButton >= 0) { m_buttons.take(oldButton); } + updateAxis(index, -1, GamepadAxisEvent::NEUTRAL); if (button >= 0) { - updateAxis(index, -1, GamepadAxisEvent::NEUTRAL); m_buttons[button] = item; } if (m_config) {