From a233646f35dddd6712210cb080fa610431fc7239 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Sun, 8 Sep 2019 14:29:37 -0700 Subject: [PATCH] Remove all case missing current index notification --- src/PlanView/PlanView.qml | 2 ++ 1 file changed, 2 insertions(+) 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() } }