Browse Source

Joystick: enable negativethrust by default on supported vehicle

QGC4.4
khancyr 8 years ago
parent
commit
3bd546a293
  1. 4
      src/VehicleSetup/JoystickConfig.qml

4
src/VehicleSetup/JoystickConfig.qml

@ -458,9 +458,9 @@ SetupPage { @@ -458,9 +458,9 @@ SetupPage {
visible: _activeVehicle.supportsNegativeThrust
id: negativeThrust
text: qsTr("Allow negative Thrust")
enabled: _activeJoystick.negativeThrust = _activeVehicle.supportsNegativeThrust
checked: _activeJoystick ? _activeJoystick.negativeThrust : false
onClicked: _activeJoystick.negativeThrust = checked
onClicked: _activeJoystick.negativeThrust = checked
}
}

Loading…
Cancel
Save