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
2e36cbf2
Commit
2e36cbf2
authored
Aug 29, 2018
by
Thomas Gubler
Committed by
Gus Grubba
Aug 30, 2018
Browse files
[QmlObjectListModel] fix list insert
Fixes
https://github.com/mavlink/qgroundcontrol/issues/6770
parent
a95b2d32
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/QmlControls/QmlObjectListModel.cc
View file @
2e36cbf2
...
...
@@ -194,7 +194,7 @@ void QmlObjectListModel::insert(int i, QList<QObject*> objects)
}
j
++
;
_objectList
.
insert
(
i
,
object
);
_objectList
.
insert
(
j
,
object
);
}
insertRows
(
i
,
objects
.
count
());
...
...
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