dabo Commit
Revision 3956
Date: 2008-03-17 11:42:47 -0700 (Mon, 17 Mar 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/3956

Changed:
U   trunk/ide/ClassDesignerComponents.py

Log:
Fixed a bug in which empty LayoutPanels would lose their Proportion settings.


Diff:
Modified: trunk/ide/ClassDesignerComponents.py
===================================================================
--- trunk/ide/ClassDesignerComponents.py        2008-03-16 22:57:46 UTC (rev 
3955)
+++ trunk/ide/ClassDesignerComponents.py        2008-03-17 18:42:47 UTC (rev 
3956)
@@ -1040,7 +1040,7 @@
                                        "cdata" : "",
                                        "children" : [] }
                        # Add the sizer item info to the item contents
-                       if not isSpacer:
+                       if not isSpacer and not ("sizerInfo" in 
kidDict["attributes"]):
                                kidDict["attributes"]["sizerInfo"] = itmDiffDict
                        # Add to the result
                        ret.append(kidDict)




_______________________________________________
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/dabo-dev/[EMAIL PROTECTED]

Reply via email to