Browse Source

Remove all case missing current index notification

QGC4.4
Don Gagne 6 years ago
parent
commit
a233646f35
  1. 2
      src/PlanView/PlanView.qml

2
src/PlanView/PlanView.qml

@ -916,6 +916,7 @@ Item { @@ -916,6 +916,7 @@ Item {
} else {
_planMasterController.removeAllFromVehicle()
}
_missionController.setCurrentPlanViewIndex(0, true)
hideDialog()
}
}
@ -927,6 +928,7 @@ Item { @@ -927,6 +928,7 @@ Item {
message: qsTr("Are you sure you want to remove all mission items and clear the mission from the vehicle?")
function accept() {
_planMasterController.removeAllFromVehicle()
_missionController.setCurrentPlanViewIndex(0, true)
hideDialog()
}
}

Loading…
Cancel
Save