Unverified Commit ddcb25d1 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #8493 from DonLakeFlyer/CherryPick

Flight mode fix, cherry picked from master
parents fbfe6786 2a09fc48
...@@ -102,7 +102,7 @@ Item { ...@@ -102,7 +102,7 @@ Item {
QGCLabel { QGCLabel {
Layout.fillWidth: true Layout.fillWidth: true
text: qsTr("Flight Mode %1").arg(modelData + 1) text: qsTr("Flight Mode %1").arg(modelData + 1)
color: controller.activeFlightMode == index ? "yellow" : qgcPal.text color: (controller.activeFlightMode - 1) == index ? "yellow" : qgcPal.text
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment