Commit bc61e579 authored by dogmaphobic's avatar dogmaphobic

Missed in conflicted merge

This is to toggle off help view when clicking on items on the map and checking the appropriate buttons accordingly.
parent 5894f2ca
......@@ -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