From 3aadceca15b0a5e3cfc6f132ec168c6b2511c672 Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Sat, 29 Jul 2017 11:30:23 -0700 Subject: [PATCH] Change to fixed value is altitude when switching to Manual grid This way if the user switches away from manual the altitude is preserved --- src/PlanView/SurveyItemEditor.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PlanView/SurveyItemEditor.qml b/src/PlanView/SurveyItemEditor.qml index 7c49b509b..5f68e3dcc 100644 --- a/src/PlanView/SurveyItemEditor.qml +++ b/src/PlanView/SurveyItemEditor.qml @@ -214,6 +214,7 @@ Rectangle { onActivated: { if (index == _gridTypeManual) { missionItem.manualGrid.value = true + missionItem.fixedValueIsAltitude.value = true } else if (index == _gridTypeCustomCamera) { missionItem.manualGrid.value = false missionItem.camera.value = gridTypeCombo.textAt(index) -- 2.22.0