diff --git a/src/PlanView/PlanView.qml b/src/PlanView/PlanView.qml index b8dce7330adc8efeab9feb18d7cc2d17f9dff0c9..a1fe01407d22cb16b2ea5e0ef5a6f55450418526 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() } }