Gui: fix tree view auto expand

This commit is contained in:
Zheng, Lei
2019-09-16 11:35:13 +08:00
committed by wmayer
parent 450cc894be
commit cdd31fb10c

View File

@@ -3781,6 +3781,7 @@ void DocumentItem::slotExpandObject (const Gui::ViewProviderDocumentObject& obj,
}else if(topParent!=parent)
continue;
showItem(item,false,true);
item->setExpanded(true);
}
break;
case Gui::CollapseItem: