From 5df0103fbef7d809fa0723964253779822785336 Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Sun, 29 Apr 2018 16:57:08 -0700 Subject: [PATCH] Old instrument panel is not coming back --- src/FlightDisplay/FlightDisplayViewWidgets.qml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/FlightDisplay/FlightDisplayViewWidgets.qml b/src/FlightDisplay/FlightDisplayViewWidgets.qml index 7e07d51f3..fc0c9d82b 100644 --- a/src/FlightDisplay/FlightDisplayViewWidgets.qml +++ b/src/FlightDisplay/FlightDisplayViewWidgets.qml @@ -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 = "" -- 2.22.0