main logo
Subject: [dabo-dev] dabo Commit 1888
Author: Ed Leafe
Posted: 2006/01/31 21:16:00
 
View Entire Thread
New Search


dabo Commit
Revision 1888
Date: 2006-01-31 18:16:02 -0800 (Tue, 31 Jan 2006)
Author: ed

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

Log:
OK, forgot about that old 'dead object' problem when using callAfter. This fixes that.


Diff:
Modified: trunk/dabo/ui/uiwx/dFormMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dFormMixin.py 2006-02-01 02:09:28 UTC (rev 1887)
+++ trunk/dabo/ui/uiwx/dFormMixin.py 2006-02-01 02:16:02 UTC (rev 1888)
@@ -483,9 +483,9 @@
"""Refreshed the values of the controls, and also calls the
wxPython Refresh to update the form.
"""
- self.Refresh()
try:
self.refreshControls()
+ self.Refresh()
except dabo.ui.deadObjectException:
# This can happen if a form is released when there is a
# pending callAfter() refresh.





 
©2006 Ed Leafe
<-- Prior Message New Search Next Message -->