dabo Commit
Revision 4537
Date: 2008-10-01 19:36:29 -0700 (Wed, 01 Oct 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4537

Changed:
U   trunk/dabo/ui/uiwx/dPemMixin.py

Log:
Fixed issue raised by Richard Esplin in which setting the DataField property to 
'id' caused confusion with the builtin function id().


Diff:
Modified: trunk/dabo/ui/uiwx/dPemMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dPemMixin.py     2008-09-29 22:43:18 UTC (rev 4536)
+++ trunk/dabo/ui/uiwx/dPemMixin.py     2008-10-02 02:36:29 UTC (rev 4537)
@@ -110,8 +110,8 @@
                                        # attProperties has lower precedence, 
so skip it
                                        continue
                                # Note: we may need to add more string props 
here.
-                               if (val in builtinNames) and (prop in 
("Caption", 
-                                               "FontFace", "Picture", "RegID", 
"ToolTipText")):
+                               if (val in builtinNames) and (prop in 
("Caption", "DataSource", 
+                                               "DataField", "FontFace", 
"Picture", "RegID", "ToolTipText")):
                                        # It's a string that happens to be the 
same as a built-in name
                                        attVal = val
                                else:




_______________________________________________
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