Fwk: Moved function call out of initAfterRead

This commit is contained in:
Magne Sjaastad committed 2014-08-07 07:28:46 +02:00
1 parent 160a2a2fdf
commit c552cea289
2 files changed
+2 -1

No files matched your search

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