diff --git a/src/VehicleSetup/SetupView.qml b/src/VehicleSetup/SetupView.qml index 05c6ad64f7e19c07214c8cf074efdb6506c19014..bdb22a292826099d44d0d4d089e5f9341c068ad2 100644 --- a/src/VehicleSetup/SetupView.qml +++ b/src/VehicleSetup/SetupView.qml @@ -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"