Browse Source

Merge pull request #8483 from cuav/cuav

fixed bug: the highlight mode is not the actually mode
QGC4.4
Don Gagne 5 years ago committed by GitHub
parent
commit
cf1b6de5ae
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