TreeView: fix children order when cyclic ref is found

This commit is contained in:
Zheng, Lei
2017-04-10 12:54:37 +08:00
committed by wmayer
parent 4fd2e0df3c
commit 7a7fc95980

View File

@@ -1149,6 +1149,7 @@ void DocumentItem::populateItem(DocumentObjectItem *item, bool refresh) {
Base::Console().Error("Gui::DocumentItem::populateItem(): Cyclic dependency in %s and %s\n",
item->object()->getObject()->Label.getValue(),
childItem->object()->getObject()->Label.getValue());
--i;
continue;
}
this->removeChild(childItem);