dabo Commit
Revision 2029
Date: 2006-03-23 12:07:45 -0800 (Thu, 23 Mar 2006)
Author: ed

Changed:
U   trunk/dabo/ui/dDataControlMixinBase.py

Log:
Fixed a problem with using instance methods as the DataField value introduced 
when I added the ability to specify objects as the DataSource.


Diff:
Modified: trunk/dabo/ui/dDataControlMixinBase.py
===================================================================
--- trunk/dabo/ui/dDataControlMixinBase.py      2006-03-23 17:43:37 UTC (rev 
2028)
+++ trunk/dabo/ui/dDataControlMixinBase.py      2006-03-23 20:07:45 UTC (rev 
2029)
@@ -105,7 +105,7 @@
                                #self.Enabled = False
                else:
                        if self._srcIsInstanceMethod is None and self.Source is 
not None:
-                               if isinstance(self.DataSource, basestring):
+                               if isinstance(self.Source, basestring):
                                        self._srcIsInstanceMethod = False
                                else:
                                        self._srcIsInstanceMethod = 
eval("type(self.Source.%s)" % self.DataField) == type(self.update)




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

Reply via email to