mailr14152 - /branches/gui_testing/gui/controller.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on August 04, 2011 - 19:04:
Author: bugman
Date: Thu Aug  4 19:04:57 2011
New Revision: 14152

URL: http://svn.gna.org/viewcvs/relax?rev=14152&view=rev
Log:
The main gauge in the relax controller is now pulsed with a wx.CallAfter() 
call to avoid race conditions.


Modified:
    branches/gui_testing/gui/controller.py

Modified: branches/gui_testing/gui/controller.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/controller.py?rev=14152&r1=14151&r2=14152&view=diff
==============================================================================
--- branches/gui_testing/gui/controller.py (original)
+++ branches/gui_testing/gui/controller.py Thu Aug  4 19:04:57 2011
@@ -284,7 +284,7 @@
         """
 
         # Pulse.
-        self.main_gauge.Pulse()
+        wx.CallAfter(self.main_gauge.Pulse)
 
         # Stop the timer and update the gauge.
         if not status.exec_lock.locked() and self.timer.IsRunning():




Related Messages


Powered by MHonArc, Updated Thu Aug 04 19:20:02 2011