Commit 86ee7c08 authored by DonLakeFlyer's avatar DonLakeFlyer

Fix action list showing empty

parent 65ebabe4
...@@ -600,10 +600,10 @@ QGCView { ...@@ -600,10 +600,10 @@ QGCView {
guidedActionsController.closeAll() guidedActionsController.closeAll()
var action = model[index].action var action = model[index].action
if (action === -1) { if (action === -1) {
if (index == 4) { if (index == 5) {
guidedActionList.model = _actionModel guidedActionList.model = _actionModel
guidedActionList.visible = true guidedActionList.visible = true
} else if (index == 5) { } else if (index == 6) {
guidedActionList.model = _smartShotModel guidedActionList.model = _smartShotModel
guidedActionList.visible = true guidedActionList.visible = true
} }
......
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