Commit c7325a0c authored by Don Gagne's avatar Don Gagne

Correct hiding of indicators for fence/rally

parent aac95cad
...@@ -346,11 +346,12 @@ QGCView { ...@@ -346,11 +346,12 @@ QGCView {
// Add the mission item visuals to the map // Add the mission item visuals to the map
Repeater { Repeater {
model: _missionController.visualItems model: _editingLayer == _layerMission ? _missionController.visualItems : undefined
delegate: MissionItemMapVisual { delegate: MissionItemMapVisual {
map: editorMap map: editorMap
onClicked: setCurrentItem(sequenceNumber, false) onClicked: setCurrentItem(sequenceNumber, false)
visible: _editingLayer == _layerMission
} }
} }
......
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