From 1fa01abc4ca86cc90b5ba869f9599bb2971419d5 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Sun, 1 Mar 2015 10:32:50 -0800 Subject: [PATCH] Not mapped shows as "Disabled" --- src/AutoPilotPlugins/PX4/FlightModesComponentSummary.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AutoPilotPlugins/PX4/FlightModesComponentSummary.qml b/src/AutoPilotPlugins/PX4/FlightModesComponentSummary.qml index 02bf27399..a94b3e697 100644 --- a/src/AutoPilotPlugins/PX4/FlightModesComponentSummary.qml +++ b/src/AutoPilotPlugins/PX4/FlightModesComponentSummary.qml @@ -27,7 +27,7 @@ Column { QGCLabel { horizontalAlignment: Text.AlignRight width: parent.width - posctl.contentWidth - text: autopilot.parameters["RC_MAP_POSCTL_SW"].value == 0 ? "Not mapped" : autopilot.parameters["RC_MAP_POSCTL_SW"].value + text: autopilot.parameters["RC_MAP_POSCTL_SW"].value == 0 ? "Disabled" : autopilot.parameters["RC_MAP_POSCTL_SW"].value } } @@ -38,7 +38,7 @@ Column { QGCLabel { horizontalAlignment: Text.AlignRight width: parent.width - loiter.contentWidth - text: autopilot.parameters["RC_MAP_LOITER_SW"].value == 0 ? "Not mapped" : autopilot.parameters["RC_MAP_LOITER_SW"].value + text: autopilot.parameters["RC_MAP_LOITER_SW"].value == 0 ? "Disabled" : autopilot.parameters["RC_MAP_LOITER_SW"].value } } @@ -49,7 +49,7 @@ Column { QGCLabel { horizontalAlignment: Text.AlignRight width: parent.width - rtl.contentWidth - text: autopilot.parameters["RC_MAP_RETURN_SW"].value == 0 ? "Not mapped" : autopilot.parameters["RC_MAP_RETURN_SW"].value + text: autopilot.parameters["RC_MAP_RETURN_SW"].value == 0 ? "Disabled" : autopilot.parameters["RC_MAP_RETURN_SW"].value } } } -- 2.22.0