From c3c3f5f81ba0cb6a3e40a6f082cba9b89181354a Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Mon, 23 May 2016 14:08:24 -0700 Subject: [PATCH] Use new controller.vehicle property to get fixedWing --- src/AutoPilotPlugins/PX4/SensorsComponent.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AutoPilotPlugins/PX4/SensorsComponent.qml b/src/AutoPilotPlugins/PX4/SensorsComponent.qml index f6be8dc0c..8a3699ae1 100644 --- a/src/AutoPilotPlugins/PX4/SensorsComponent.qml +++ b/src/AutoPilotPlugins/PX4/SensorsComponent.qml @@ -348,7 +348,7 @@ QGCView { id: airspeedButton width: parent.buttonWidth text: qsTr("Airspeed") - visible: controller.fixedWing + visible: controller.vehicle.fixedWing && controller.getParameterFact(-1, "CBRK_AIRSPD_CHK").value != 162128 indicatorGreen: sens_dpres_off.value != 0 onClicked: { -- 2.22.0