Browse Source

Allow disable of uncalibrated joystick

QGC4.4
Don Gagne 9 years ago
parent
commit
e830c29dc4
  1. 4
      src/VehicleSetup/JoystickConfig.qml

4
src/VehicleSetup/JoystickConfig.qml

@ -343,8 +343,8 @@ QGCView { @@ -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

Loading…
Cancel
Save