Browse Source

Merge pull request #3188 from DonLakeFlyer/NoAirframeMessage

Better messaging for no airframe set
QGC4.4
Don Gagne 9 years ago
parent
commit
472ee13983
  1. 7
      src/AutoPilotPlugins/PX4/AirframeComponent.qml

7
src/AutoPilotPlugins/PX4/AirframeComponent.qml

@ -126,9 +126,10 @@ QGCView { @@ -126,9 +126,10 @@ QGCView {
QGCLabel {
id: helpText
width: parent.width - applyButton.width - 5
text: "You've connected a " +
controller.currentVehicleName +
". If you’d like to change this configuration, select the desired airframe below then click “Apply and Restart”."
text: (controller.currentVehicleName != "" ?
"You've connected a " + controller.currentVehicleName :
"Airframe is not set") +
". To change this configuration, select the desired airframe below then click “Apply and Restart”."
font.weight: Font.DemiBold
wrapMode: Text.WordWrap
}

Loading…
Cancel
Save