Fwk: Moved function call out of initAfterRead

This commit is contained in:
Magne Sjaastad 2014-08-07 07:28:46 +02:00
parent e31d3c8807
commit da108bfb03
2 changed files with 2 additions and 1 deletions

View File

@ -113,6 +113,7 @@ void PdmObjectGroup::initAfterReadTraversal(PdmObject* object)
}
object->initAfterRead();
object->updateUiIconFromToggleField();
}

View File

@ -198,7 +198,7 @@ public:
protected: // Virtual
/// Method gets called from PdmDocument after all objects are read.
/// Re-implement to set up internal pointers etc. in your data structure
virtual void initAfterRead() { updateUiIconFromToggleField(); };
virtual void initAfterRead() {};
/// Method gets called from PdmDocument before saving document.
/// Re-implement to make sure your fields have correct data before saving