Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
31254944
Commit
31254944
authored
Feb 14, 2017
by
Don Gagne
Browse files
Fix position of children of complex items
parent
a64e2cf6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/MissionEditor/MissionEditor.qml
View file @
31254944
...
...
@@ -467,6 +467,24 @@ QGCView {
missionItem
:
object
sequenceNumber
:
object
.
lastSequenceNumber
visible
:
object
.
specifiesCoordinate
// These are the non-coordinate child mission items attached to this item
Row
{
anchors.top
:
parent
.
top
anchors.left
:
parent
.
right
Repeater
{
model
:
!
object
.
isSimpleItem
?
object
.
childItems
:
0
delegate
:
MissionItemIndexLabel
{
label
:
object
.
abbreviation
checked
:
object
.
isCurrentItem
z
:
2
onClicked
:
setCurrentItem
(
object
.
sequenceNumber
)
}
}
}
}
}
...
...
@@ -514,7 +532,7 @@ QGCView {
anchors.left
:
parent
.
right
Repeater
{
model
:
object
.
childItems
model
:
object
.
isSimpleItem
?
object
.
childItems
:
0
delegate
:
MissionItemIndexLabel
{
label
:
object
.
abbreviation
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment