From f2729ee15905e356ef14140760637e085b74fb1e Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Tue, 29 May 2018 14:07:32 -0700 Subject: [PATCH] Allow custom build to hide relative alt checkbox --- src/PlanView/FWLandingPatternEditor.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PlanView/FWLandingPatternEditor.qml b/src/PlanView/FWLandingPatternEditor.qml index 4e53bd812..9ea64587a 100644 --- a/src/PlanView/FWLandingPatternEditor.qml +++ b/src/PlanView/FWLandingPatternEditor.qml @@ -125,6 +125,7 @@ Rectangle { anchors.right: parent.right text: qsTr("Altitudes relative to home") checked: missionItem.altitudesAreRelative + visible: QGroundControl.corePlugin.options.showMissionAbsoluteAltitude || !missionItem.altitudesAreRelative onClicked: missionItem.altitudesAreRelative = checked } } -- 2.22.0