diff --git a/src/PlanView/PlanView.qml b/src/PlanView/PlanView.qml index b8dce73..a1fe014 100644 --- a/src/PlanView/PlanView.qml +++ b/src/PlanView/PlanView.qml @@ -916,6 +916,7 @@ Item { } else { _planMasterController.removeAllFromVehicle() } + _missionController.setCurrentPlanViewIndex(0, true) hideDialog() } } @@ -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() } }