dabo Commit
Revision 5611
Date: 2010-01-31 08:11:56 -0800 (Sun, 31 Jan 2010)
Author: Ed
Trac: http://trac.dabodev.com/changeset/5611
Changed:
U trunk/ide/ClassDesignerComponents.py
Log:
Corrected an error when saving/running a non-sizer-based form.
Diff:
Modified: trunk/ide/ClassDesignerComponents.py
===================================================================
--- trunk/ide/ClassDesignerComponents.py 2010-01-31 13:18:05 UTC (rev
5610)
+++ trunk/ide/ClassDesignerComponents.py 2010-01-31 16:11:56 UTC (rev
5611)
@@ -152,7 +152,7 @@
if (hasSizer or isinstance(self, dabo.ui.dPage) or
isSplitPanel) and prop in ("Width",
"Height") and ((csz is not None) and
csz.getItemProp(self, "Expand")):
continue
- if isinstance(self, dabo.ui.dLabel) and prop in
("Width", "Height"):
+ if isinstance(self, dabo.ui.dLabel) and prop in
("Width", "Height") and csz is not None:
# If the width/height is controlled by the
sizer, don't save it.
szornt = csz.Orientation
exp = csz.getItemProp(self, "Expand")
_______________________________________________
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]