Unverified Commit b9d9af59 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #7207 from Williangalvani/fixEnableNotWorking

Start joystick when JoystickEnabled changes
parents a3528182 5e3a495e
...@@ -2298,6 +2298,7 @@ bool Vehicle::joystickEnabled(void) ...@@ -2298,6 +2298,7 @@ bool Vehicle::joystickEnabled(void)
void Vehicle::setJoystickEnabled(bool enabled) void Vehicle::setJoystickEnabled(bool enabled)
{ {
_joystickEnabled = enabled; _joystickEnabled = enabled;
_startJoystick(_joystickEnabled);
_saveSettings(); _saveSettings();
emit joystickEnabledChanged(_joystickEnabled); emit joystickEnabledChanged(_joystickEnabled);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment