diff --git a/src/AutoPilotPlugins/PX4/FlightModesComponentSummary.qml b/src/AutoPilotPlugins/PX4/FlightModesComponentSummary.qml index 324bcb8ba43cca1b22dbf6fecd5219dbc05adbd5..a61aa64575dddf9fd50821eb483ae18abfc1deff 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 } }