Unverified Commit 8cfaaec0 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #6524 from DonLakeFlyer/FWLandingAltRel

Fixed Wing Landing Pattern: Relative alt checkbox override
parents e7db8b94 b5cb0736
......@@ -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
}
}
......
......@@ -51,9 +51,10 @@ FocusScope {
QGCColoredImage {
id: image
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
width: label.height / 2
height: width
Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
source: "/qmlimages/arrow-down.png"
color: qgcPal.text
visible: !_root.checked
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment