Commit d5ab9686 authored by Nate Weibley's avatar Nate Weibley

More descriptive signal parameter for MissionItemEditor insert

parent deb279bf
......@@ -501,7 +501,7 @@ QGCView {
}
onInsert: {
var sequenceNumber = controller.insertSimpleMissionItem(editorMap.center, i)
var sequenceNumber = controller.insertSimpleMissionItem(editorMap.center, insertAfterIndex)
setCurrentItem(sequenceNumber)
}
......
......@@ -24,7 +24,7 @@ Rectangle {
signal clicked
signal remove
signal insert(int i)
signal insert(int insertAfterIndex)
signal moveHomeToMapCenter
property bool _currentItem: missionItem.isCurrentItem
......
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