Commit c7325a0c authored by Don Gagne's avatar Don Gagne

Correct hiding of indicators for fence/rally

parent aac95cad
...@@ -346,17 +346,18 @@ QGCView { ...@@ -346,17 +346,18 @@ 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
} }
} }
// Add lines between waypoints // Add lines between waypoints
MissionLineView { MissionLineView {
model: _editingLayer == _layerMission ? _missionController.waypointLines : undefined model: _editingLayer == _layerMission ? _missionController.waypointLines : undefined
} }
// Add the vehicles to the map // Add the vehicles to the map
......
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