Commit 503531aa authored by DonLakeFlyer's avatar DonLakeFlyer

Fix plan toolstrip buttons

parent 348091b3
...@@ -572,15 +572,15 @@ QGCView { ...@@ -572,15 +572,15 @@ QGCView {
onClicked: { onClicked: {
switch (index) { switch (index) {
case 0: case 1:
_addWaypointOnClick = checked _addWaypointOnClick = checked
_addROIOnClick = false _addROIOnClick = false
break break
case 1: case 2:
_addROIOnClick = checked _addROIOnClick = checked
_addWaypointOnClick = false _addWaypointOnClick = false
break break
case 2: case 3:
if (_singleComplexItem) { if (_singleComplexItem) {
addComplexItem(_missionController.complexMissionItemNames[0]) addComplexItem(_missionController.complexMissionItemNames[0])
} }
......
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