Minor fix with the insertion of new item in the new element panel

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4351 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2016-02-18 16:56:08 +00:00
parent 5fd6e89068
commit 90c769c013
3 changed files with 5 additions and 8 deletions

View File

@@ -164,7 +164,7 @@ int ElementCollectionItem::rowForInsertItem(const QString &collection_name)
if (eci->collectionName() > collection_name)
return indexOfChild(eci);
return childCount();
return (indexOfChild(child.last())+1);
}
/**