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 c99b621356
commit 475baf5481

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: