dabo Commit
Revision 4896
Date: 2008-12-29 04:06:31 -0800 (Mon, 29 Dec 2008)
Author: Ed
Trac: http://trac.dabodev.com/changeset/4896
Changed:
U trunk/dabo/ui/uiwx/dPemMixin.py
Log:
Added a check for dead objects in the __updateDynamicProps() method. I ran into
some cases running DaboDemo under Gtk where this error was triggered.
Diff:
Modified: trunk/dabo/ui/uiwx/dPemMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dPemMixin.py 2008-12-28 17:13:02 UTC (rev 4895)
+++ trunk/dabo/ui/uiwx/dPemMixin.py 2008-12-29 12:06:31 UTC (rev 4896)
@@ -1236,6 +1236,8 @@
def __updateDynamicProps(self):
"""Updates the object's dynamic properties."""
+ if not self:
+ return
self.__updateObjectDynamicProps(self)
for obj in self._drawnObjects:
self.__updateObjectDynamicProps(obj)
_______________________________________________
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]