Browse Source

Add null check

QGC4.4
Don Gagne 10 years ago
parent
commit
08ee315237
  1. 2
      src/VehicleSetup/SetupView.qml

2
src/VehicleSetup/SetupView.qml

@ -184,7 +184,7 @@ Rectangle { @@ -184,7 +184,7 @@ Rectangle {
id: joystickButton
width: buttonWidth
setupIndicator: true
setupComplete: joystickManager.activeJoystick.calibrated
setupComplete: joystickManager.activeJoystick ? joystickManager.activeJoystick.calibrated : false
exclusiveGroup: setupButtonGroup
visible: multiVehicleManager.parameterReadyVehicleAvailable && joystickManager.joysticks.length != 0
text: "JOYSTICK"

Loading…
Cancel
Save