Commit 3bd546a2 authored by khancyr's avatar khancyr

Joystick: enable negativethrust by default on supported vehicle

parent 2bf477a8
......@@ -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
}
}
......
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