Commit 1a110b2d authored by Jacob Dahl's avatar Jacob Dahl

Clicking on the checklist no longer closes any open action dialogs, i.e Start Mission

parent bd4bfe55
...@@ -581,12 +581,6 @@ Item { ...@@ -581,12 +581,6 @@ Item {
] ]
model: [ model: [
/*{
name: "Plan",
iconSource: "/qmlimages/Plan.svg",
buttonVisible: true,
buttonEnabled: true,
},*/
{ {
name: "Checklist", name: "Checklist",
iconSource: "/qmlimages/check.svg", iconSource: "/qmlimages/check.svg",
...@@ -631,13 +625,10 @@ Item { ...@@ -631,13 +625,10 @@ Item {
] ]
onClicked: { onClicked: {
guidedActionsController.closeAll()
/*if(index === 0) {
mainWindow.showPlanView()
} else*/
if(index === 0) { if(index === 0) {
checklistDropPanel.open() checklistDropPanel.open()
} else { } else {
guidedActionsController.closeAll()
var action = model[index].action var action = model[index].action
if (action === -1) { if (action === -1) {
guidedActionList.model = _actionModel guidedActionList.model = _actionModel
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment