daboide Commit
Revision 184
Date: 2005-10-04 11:15:20 -0700 (Tue, 04 Oct 2005)
Author: paul

Changed:
U   trunk/DesignerFormMixin.py

Log:
Fixed code in DesignerForm to use the new keys for getPropertyInfo().


Diff:
Modified: trunk/DesignerFormMixin.py
===================================================================
--- trunk/DesignerFormMixin.py  2005-10-02 12:50:29 UTC (rev 183)
+++ trunk/DesignerFormMixin.py  2005-10-04 18:15:20 UTC (rev 184)
@@ -263,7 +263,7 @@
                props = ctl.getPropertyList()
                for prop in props:
                        inf = ctl.getPropertyInfo(prop)
-                       if not inf["showValueInDesigner"] or not 
inf["editValueInDesigner"]:
+                       if not inf["readable"] or not inf["writable"]:
                                continue
                        if prop in ("Font", "Right", "Bottom"):
                                # These are either derived or set by other props




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

Reply via email to