Browse Source

Merge pull request #8493 from DonLakeFlyer/CherryPick

Flight mode fix, cherry picked from master
QGC4.4
Don Gagne 5 years ago committed by GitHub
parent
commit
ddcb25d1b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/AutoPilotPlugins/PX4/PX4SimpleFlightModes.qml

2
src/AutoPilotPlugins/PX4/PX4SimpleFlightModes.qml

@ -102,7 +102,7 @@ Item { @@ -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
}
}

Loading…
Cancel
Save