Commit 8cca90f9 authored by Gus Grubba's avatar Gus Grubba

Merge pull request #1979 from dogmaphobic/fixHelpButton

Missed in conflicted merge
parents 5894f2ca bc61e579
......@@ -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