Skip to content

Commit

Permalink
Change to fixed value is altitude when switching to Manual grid
Browse files Browse the repository at this point in the history
This way if the user switches away from manual the altitude is preserved
  • Loading branch information
DonLakeFlyer committed Jul 29, 2017
1 parent 37bcff0 commit 3aadcec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PlanView/SurveyItemEditor.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3aadcec

Please sign in to comment.