diff --git a/src/AutoPilotPlugins/PX4/PX4SimpleFlightModes.qml b/src/AutoPilotPlugins/PX4/PX4SimpleFlightModes.qml index cef4a531ebea1192a35b7d96ef55988b7f35e540..b55ad337dd64ce1f672ff1d7954161b53d5db422 100644 --- a/src/AutoPilotPlugins/PX4/PX4SimpleFlightModes.qml +++ b/src/AutoPilotPlugins/PX4/PX4SimpleFlightModes.qml @@ -102,7 +102,7 @@ Item { QGCLabel { Layout.fillWidth: true text: qsTr("Flight Mode %1").arg(modelData + 1) - color: controller.activeFlightMode == index ? "yellow" : qgcPal.text + color: (controller.activeFlightMode - 1) == index ? "yellow" : qgcPal.text } }