From e0d8cb105dd66c8566dcd17774b7f7eccd719ed4 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Mon, 13 Apr 2015 09:16:55 -0700 Subject: [PATCH] Fix fact references --- src/AutoPilotPlugins/PX4/FlightModesComponentSummary.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/AutoPilotPlugins/PX4/FlightModesComponentSummary.qml b/src/AutoPilotPlugins/PX4/FlightModesComponentSummary.qml index 324bcb8ba..a61aa6457 100644 --- a/src/AutoPilotPlugins/PX4/FlightModesComponentSummary.qml +++ b/src/AutoPilotPlugins/PX4/FlightModesComponentSummary.qml @@ -21,16 +21,16 @@ Column { VehicleSummaryRow { labelText: "Position Ctl switch:" - valueText: posCtlSwFact.value == 0 ? "Disabled" : fact.valueString + valueText: posCtlSwFact.value == 0 ? "Disabled" : posCtlSwFact.valueString } VehicleSummaryRow { - labelText: "Position Ctl switch:" - valueText: loiterSwFact.value == 0 ? "Disabled" : fact.valueString + labelText: "Loiter switch:" + valueText: loiterSwFact.value == 0 ? "Disabled" : loiterSwFact.valueString } VehicleSummaryRow { labelText: "Return switch:" - valueText: returnSwFact.value == 0 ? "Disabled" : fact.valueString + valueText: returnSwFact.value == 0 ? "Disabled" : returnSwFact.valueString } } -- 2.22.0