Browse Source

Merge pull request #7771 from DonLakeFlyer/NoChildItems

Plan/Fly: Remove child item display
QGC4.4
Don Gagne 6 years ago committed by GitHub
parent
commit
36ee931858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      src/PlanView/SimpleItemMapVisual.qml

16
src/PlanView/SimpleItemMapVisual.qml

@ -109,22 +109,6 @@ Item { @@ -109,22 +109,6 @@ Item {
missionItem: _missionItem
sequenceNumber: _missionItem.sequenceNumber
onClicked: _root.clicked(_missionItem.sequenceNumber)
// These are the non-coordinate child mission items attached to this item
Row {
anchors.top: parent.top
anchors.left: parent.right
Repeater {
model: _missionItem.childItems
delegate: MissionItemIndexLabel {
z: 2
label: object.abbreviation.length === 0 ? object.sequenceNumber : object.abbreviation.charAt(0)
checked: object.isCurrentItem
child: true
specifiesCoordinate: false
onClicked: _root.clicked(object.sequenceNumber)
}
}
}
}
}
}

Loading…
Cancel
Save