[gen] Bugfixes.

This commit is contained in:
Gaetan Delannay 2014-12-15 19:36:00 +01:00
parent 50bd996c3b
commit 6cd64fdc50
4 changed files with 10 additions and 6 deletions

View file

@ -893,6 +893,9 @@ class AbstractWrapper(object):
setattr(appyObj, attrName, attrValue)
except AttributeError, ae:
if raiseOnWrongAttribute: raise ae
# Call custom early initialization
if executeMethods and hasattr(appyObj, 'onEditEarly'):
appyObj.onEditEarly()
if isField:
# Link the object to this one
field.linkObject(self, appyObj, executeMethods=executeMethods)