dabo Commit
Revision 5035
Date: 2009-02-07 10:59:27 -0800 (Sat, 07 Feb 2009)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5035

Changed:
U   trunk/dabo/ui/uiwx/dFormMixin.py

Log:
This seems to fix the ClassDesigner regression I introduced with the refactor 
of restoreSizeAndPosition() yesterday.

Diff:
Modified: trunk/dabo/ui/uiwx/dFormMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dFormMixin.py    2009-02-07 18:54:02 UTC (rev 5034)
+++ trunk/dabo/ui/uiwx/dFormMixin.py    2009-02-07 18:59:27 UTC (rev 5035)
@@ -75,10 +75,11 @@
 
                super(dFormMixin, self).__init__(preClass, parent, properties, 
                                attProperties, *args, **kwargs)
-       
-               self.restoreSizeAndPosition()
 
+               if not self._designerMode:      
+                       self.restoreSizeAndPosition()
 
+
        def _getInitPropertiesList(self):
                additional = ["BorderResizable", "FloatOnParent", 
"ShowCloseButton", "ShowInTaskBar", 
                                "ShowMaxButton", "ShowMinButton", 
"ShowSystemMenu", "StayOnTop", "TinyTitleBar"]



_______________________________________________
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