From 1a110b2d54faeb80c6b505bb1876eb559485766c Mon Sep 17 00:00:00 2001 From: Jacob Dahl Date: Fri, 21 Feb 2020 06:32:34 -0700 Subject: [PATCH] Clicking on the checklist no longer closes any open action dialogs, i.e Start Mission --- src/FlightDisplay/FlightDisplayView.qml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/FlightDisplay/FlightDisplayView.qml b/src/FlightDisplay/FlightDisplayView.qml index 3faa8c846..ec5f0156d 100644 --- a/src/FlightDisplay/FlightDisplayView.qml +++ b/src/FlightDisplay/FlightDisplayView.qml @@ -581,12 +581,6 @@ Item { ] model: [ - /*{ - name: "Plan", - iconSource: "/qmlimages/Plan.svg", - buttonVisible: true, - buttonEnabled: true, - },*/ { name: "Checklist", iconSource: "/qmlimages/check.svg", @@ -631,13 +625,10 @@ Item { ] onClicked: { - guidedActionsController.closeAll() - /*if(index === 0) { - mainWindow.showPlanView() - } else*/ if(index === 0) { checklistDropPanel.open() } else { + guidedActionsController.closeAll() var action = model[index].action if (action === -1) { guidedActionList.model = _actionModel -- 2.22.0