Unverified Commit daa09883 authored by Gus Grubba's avatar Gus Grubba Committed by GitHub

Merge pull request #6838 from thomasgubler/fix/6770_kml_import

[QmlObjectListModel] fix list insert
parents 08dcb7e0 5997bd1b
...@@ -194,7 +194,7 @@ void QmlObjectListModel::insert(int i, QList<QObject*> objects) ...@@ -194,7 +194,7 @@ void QmlObjectListModel::insert(int i, QList<QObject*> objects)
} }
j++; j++;
_objectList.insert(i, object); _objectList.insert(j, object);
} }
insertRows(i, objects.count()); insertRows(i, objects.count());
......
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