Commit 50650ec8 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #3526 from DonLakeFlyer/AllowDisable

Allow disable of uncalibrated joystick
parents 99db0a0c e830c29d
......@@ -343,8 +343,8 @@ QGCView {
QGCCheckBox {
enabled: _activeJoystick.calibrated
text: _activeJoystick.calibrated ? qsTr("Enable joystick input") : qsTr("Enable/Disable not allowed (Calibrate First)")
enabled: checked || _activeJoystick.calibrated
text: _activeJoystick.calibrated ? qsTr("Enable joystick input") : qsTr("Enable not allowed (Calibrate First)")
checked: _activeVehicle.joystickEnabled
onClicked: _activeVehicle.joystickEnabled = 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