dabo Commit
Revision 6786
Date: 2011-08-17 11:48:53 -0700 (Wed, 17 Aug 2011)
Author: Paul
Trac: http://trac.dabodev.com/changeset/6786

Changed:
U   trunk/ide/ReportDesigner.py

Log:
Fixed a bug in the designer when changing the height of a band where the height
was None (dynamic) previously.


Diff:
Modified: trunk/ide/ReportDesigner.py
===================================================================
--- trunk/ide/ReportDesigner.py 2011-08-17 14:47:14 UTC (rev 6785)
+++ trunk/ide/ReportDesigner.py 2011-08-17 18:48:53 UTC (rev 6786)
@@ -1045,7 +1045,7 @@
                                else:
                                        # Height is None, meaning it is to 
stretch dynamically at runtime.
                                        # However, the user just overrode that 
by setting it explicitly.
-                                       if "height_def" in self.Parent:
+                                       if "height_def" in 
self.Parent.ReportObject:
                                                oldHeight = 
self.Parent._rw.getPt(self.Parent.getProp("Height_def"))
                                        else:
                                                oldHeight = 75



_______________________________________________
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