when restoring object then only expand single items, not its parent items
This commit is contained in:
@@ -829,7 +829,7 @@ void Document::RestoreDocFile(Base::Reader &reader)
|
||||
pObj->Restore(xmlReader);
|
||||
if (pObj && expanded) {
|
||||
Gui::ViewProviderDocumentObject* vp = static_cast<Gui::ViewProviderDocumentObject*>(pObj);
|
||||
this->signalExpandObject(*vp, Gui::Expand);
|
||||
this->signalExpandObject(*vp, Gui::ExpandItem);
|
||||
}
|
||||
xmlReader.readEndElement("ViewProvider");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user