dabo Commit
Revision 4442
Date: 2008-08-25 12:25:22 -0700 (Mon, 25 Aug 2008)
Author: Paul
Trac: http://svn.dabodev.com/trac/dabo/changeset/4442

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

Log:
Another dead object exception was going uncaught in Windows. Fixed.

Diff:
Modified: trunk/dabo/ui/uiwx/dGrid.py
===================================================================
--- trunk/dabo/ui/uiwx/dGrid.py 2008-08-22 20:01:21 UTC (rev 4441)
+++ trunk/dabo/ui/uiwx/dGrid.py 2008-08-25 19:25:22 UTC (rev 4442)
@@ -578,9 +578,12 @@
                                try:
                                        setattr(self, prop, func(*args, 
**kwargs))
                                except dabo.ui.deadObjectException:
+                                       pass
+                               try:
+                                       if needRefresh or oldVal != 
getattr(self, prop):
+                                               needRefresh = True
+                               except dabo.ui.deadObjectException:
                                        needRefresh = False
-                               if needRefresh or oldVal != getattr(self, prop):
-                                       needRefresh = True
                if needRefresh:
                        dabo.ui.callAfterInterval(200, self._refreshGrid)
                del self._cellDynamicRow




_______________________________________________
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