Commit 5e3a495e authored by Willian Galvani's avatar Willian Galvani

Vehicle.cc: start joystick when JoystickEnabled changes

parent 6f572a7f
......@@ -2298,6 +2298,7 @@ bool Vehicle::joystickEnabled(void)
void Vehicle::setJoystickEnabled(bool enabled)
{
_joystickEnabled = enabled;
_startJoystick(_joystickEnabled);
_saveSettings();
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