dabo Commit
Revision 4518
Date: 2008-09-09 10:09:22 -0700 (Tue, 09 Sep 2008)
Author: Paul
Trac: http://svn.dabodev.com/trac/dabo/changeset/4518
Changed:
U trunk/dabo/ui/uiwx/dPemMixin.py
Log:
Ok, reverted the part of [4510] that caused the actual problem, which
was unexpected. This now fixes the ClassDesigner problem.
Diff:
Modified: trunk/dabo/ui/uiwx/dPemMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dPemMixin.py 2008-09-09 17:03:02 UTC (rev 4517)
+++ trunk/dabo/ui/uiwx/dPemMixin.py 2008-09-09 17:09:22 UTC (rev 4518)
@@ -177,7 +177,11 @@
self.PostCreate(pre)
self._pemObject = self
- self._setNameAndProperties(properties, **kwargs)
+
+ if self._constructed():
+ # (some objects could have overridden _constructed()
and don't want
+ # us to call _setNameAndProperties() here..)
+ self._setNameAndProperties(properties, **kwargs)
self._initEvents()
self._afterInit()
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]