Browse Source

CP - Don't show "Click Firmware on the left" if firmware upgrade is disabled.

QGC4.4
Gus Grubba 6 years ago
parent
commit
65e45a1eea
  1. 2
      src/VehicleSetup/SetupView.qml

2
src/VehicleSetup/SetupView.qml

@ -149,7 +149,7 @@ Rectangle { @@ -149,7 +149,7 @@ Rectangle {
wrapMode: Text.WordWrap
font.pointSize: ScreenTools.largeFontPointSize
text: qsTr("Vehicle settings and info will display after connecting your vehicle.") +
(ScreenTools.isMobile ? "" : " Click Firmware on the left to upgrade your vehicle.")
(ScreenTools.isMobile || !_corePlugin.options.showFirmwareUpgrade ? "" : " Click Firmware on the left to upgrade your vehicle.")
onLinkActivated: Qt.openUrlExternally(link)
}

Loading…
Cancel
Save