dabo Commit
Revision 2571
Date: 2006-12-21 05:15:08 -0800 (Thu, 21 Dec 2006)
Author: Paul

Changed:
U   branches/stable/dabo/ui/uiwx/dGrid.py
U   trunk/dabo/ui/uiwx/dGrid.py

Log:
Fixed a bug in the setter of dGrid.HeaderHeight that would cause a 
traceback when trying to set it inside initProperties() or as a kwarg
to the constructor.


Diff:
Modified: branches/stable/dabo/ui/uiwx/dGrid.py
===================================================================
--- branches/stable/dabo/ui/uiwx/dGrid.py       2006-12-21 12:59:18 UTC (rev 
2570)
+++ branches/stable/dabo/ui/uiwx/dGrid.py       2006-12-21 13:15:08 UTC (rev 
2571)
@@ -3564,7 +3564,7 @@
                if self._constructed():
                        self.SetColLabelSize(val)
                else:
-                       self._properties["HeaderHeight"]
+                       self._properties["HeaderHeight"] = val
        
        
        def _getHeaderHorizontalAlignment(self):

Modified: trunk/dabo/ui/uiwx/dGrid.py
===================================================================
--- trunk/dabo/ui/uiwx/dGrid.py 2006-12-21 12:59:18 UTC (rev 2570)
+++ trunk/dabo/ui/uiwx/dGrid.py 2006-12-21 13:15:08 UTC (rev 2571)
@@ -3669,7 +3669,7 @@
                if self._constructed():
                        self.SetColLabelSize(val)
                else:
-                       self._properties["HeaderHeight"]
+                       self._properties["HeaderHeight"] = val
        
        
        def _getHeaderHorizontalAlignment(self):




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to