Browse Source

Merge pull request #6472 from DonLakeFlyer/ActionList

Fix action list showing empty
QGC4.4
Don Gagne 7 years ago committed by GitHub
parent
commit
3a681376c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/FlightDisplay/FlightDisplayView.qml

4
src/FlightDisplay/FlightDisplayView.qml

@ -600,10 +600,10 @@ QGCView { @@ -600,10 +600,10 @@ QGCView {
guidedActionsController.closeAll()
var action = model[index].action
if (action === -1) {
if (index == 4) {
if (index == 5) {
guidedActionList.model = _actionModel
guidedActionList.visible = true
} else if (index == 5) {
} else if (index == 6) {
guidedActionList.model = _smartShotModel
guidedActionList.visible = true
}

Loading…
Cancel
Save