dabo Commit
Revision 4310
Date: 2008-07-22 17:10:28 -0700 (Tue, 22 Jul 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4310

Changed:
U   trunk/ide/ClassDesigner.py

Log:
Reverted the changes in rev. [4300] and [4301], as they should no longer be 
needed with the dPemMixin change.


Diff:
Modified: trunk/ide/ClassDesigner.py
===================================================================
--- trunk/ide/ClassDesigner.py  2008-07-23 00:07:02 UTC (rev 4309)
+++ trunk/ide/ClassDesigner.py  2008-07-23 00:10:28 UTC (rev 4310)
@@ -2600,9 +2600,7 @@
 
                # Here's where the control is actually created!
                mixedClass = self.getControlClass(cls)
-               obj = mixedClass(parent, properties=props)
-               if attProperties is not None:
-                       obj.setPropertiesFromAtts(attProperties)
+               obj = mixedClass(parent, properties=props, 
attProperties=attProperties)
                
                if issubclass(cls, dui.dTreeView):
                        obj.addDummyData()




_______________________________________________
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]

Reply via email to