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

Merge pull request #8483 from cuav/cuav

fixed bug: the highlight mode is not the actually mode
parents 53226024 5a5eb6ce
......@@ -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
}
}
......
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