Browse Source

Old instrument panel is not coming back

QGC4.4
DonLakeFlyer 7 years ago
parent
commit
5df0103fbe
  1. 10
      src/FlightDisplay/FlightDisplayViewWidgets.qml

10
src/FlightDisplay/FlightDisplayViewWidgets.qml

@ -73,15 +73,7 @@ Item { @@ -73,15 +73,7 @@ Item {
break;
}
} else {
// Note: We currently show alternate instruments all the time. This is a trial change for daily builds.
// Leaving non-alternate code in for now in case the trial fails.
var useAlternateInstruments = true//QGroundControl.settingsManager.appSettings.virtualJoystick.value || ScreenTools.isTinyScreen
if(useAlternateInstruments) {
instrumentsLoader.source = "qrc:/qml/QGCInstrumentWidgetAlternate.qml"
} else {
instrumentsLoader.source = "qrc:/qml/QGCInstrumentWidget.qml"
instrumentsLoader.state = QGroundControl.settingsManager.appSettings.showLargeCompass.value === 1 ? "centerRightMode" : "topRightMode"
}
instrumentsLoader.source = "qrc:/qml/QGCInstrumentWidgetAlternate.qml"
}
} else {
instrumentsLoader.source = ""

Loading…
Cancel
Save