Permalink
Browse files

qmlui: fix Collection editor insert index

when dragging at the end of the list
  • Loading branch information...
mcallegari committed Nov 20, 2018
1 parent ddb18d9 commit 720cde84e6b25a61e13acb7c6ab00f4d6705301d
Showing with 1 addition and 1 deletion.
  1. +1 −1 qmlui/qml/fixturesfunctions/CollectionEditor.qml
@@ -213,7 +213,7 @@ Rectangle
{
var insertIndex = cFunctionList.dragInsertIndex
if (insertIndex == -1)
insertIndex = 0
insertIndex = cFunctionList.count
for (var i = 0; i < drag.source.itemsList.length; i++)
{

0 comments on commit 720cde8

Please sign in to comment.