dabo Commit
Revision 6936
Date: 2011-10-27 07:33:36 -0700 (Thu, 27 Oct 2011)
Author: Jacekk
Trac: http://trac.dabodev.com/changeset/6936
Changed:
U trunk/dabo/ui/uiwx/dForm.py
Log:
Fix TypeError exception raised by deferred calls.
Diff:
Modified: trunk/dabo/ui/uiwx/dForm.py
===================================================================
--- trunk/dabo/ui/uiwx/dForm.py 2011-10-27 14:00:38 UTC (rev 6935)
+++ trunk/dabo/ui/uiwx/dForm.py 2011-10-27 14:33:36 UTC (rev 6936)
@@ -126,8 +126,10 @@
dabo.ui.callAfterInterval(interval, self.__update)
else:
self.__update()
+
def __update(self):
- super(BaseForm, self).update()
+ if self:
+ super(BaseForm, self).update()
def confirmChanges(self, bizobjs=None):
_______________________________________________
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]