Browse Source

Vehicle.cc: start joystick when JoystickEnabled changes

QGC4.4
Willian Galvani 6 years ago
parent
commit
5e3a495e44
  1. 1
      src/Vehicle/Vehicle.cc

1
src/Vehicle/Vehicle.cc

@ -2298,6 +2298,7 @@ bool Vehicle::joystickEnabled(void) @@ -2298,6 +2298,7 @@ bool Vehicle::joystickEnabled(void)
void Vehicle::setJoystickEnabled(bool enabled)
{
_joystickEnabled = enabled;
_startJoystick(_joystickEnabled);
_saveSettings();
emit joystickEnabledChanged(_joystickEnabled);
}

Loading…
Cancel
Save