Browse Source

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

QGC4.4
Jacob Dahl 5 years ago
parent
commit
1a110b2d54
  1. 11
      src/FlightDisplay/FlightDisplayView.qml

11
src/FlightDisplay/FlightDisplayView.qml

@ -581,12 +581,6 @@ Item { @@ -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 { @@ -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

Loading…
Cancel
Save