diff --git a/src/Gui/Tree.cpp b/src/Gui/Tree.cpp index afc6a556f8..5ba9110957 100644 --- a/src/Gui/Tree.cpp +++ b/src/Gui/Tree.cpp @@ -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);