Commit f5651322 authored by Gus Grubba's avatar Gus Grubba

Merge branch 'master' into pinchZoomWorkaround

parents dc5223af 8cca90f9
......@@ -375,7 +375,19 @@ QGCView {
visible: object.specifiesCoordinate
onClicked: {
_showHomePositionManager = false
disableToggles()
if (_dropButtonsExclusiveGroup.current) {
_dropButtonsExclusiveGroup.current.checked = false
}
//-- Home?
if (object.sequenceNumber === 0) {
homePositionManagerButton.checked = true
_showHomePositionManager = true
//-- Otherwise it's a mission item
} else {
addMissionItemsButton.checked = true
_addMissionItems = true
}
setCurrentItem(object.sequenceNumber)
}
......
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