mailr14578 - /1.3/gui/controller.py


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

Header


Content

Posted by edward on September 02, 2011 - 16:04:
Author: bugman
Date: Fri Sep  2 16:04:59 2011
New Revision: 14578

URL: http://svn.gna.org/viewcvs/relax?rev=14578&view=rev
Log:
Bug fix for Mac OS X - the timer in the relax controller is started with a 
wx.CallAfter() call.

This is to ensure that it will start from the main thread, which is essential!


Modified:
    1.3/gui/controller.py

Modified: 1.3/gui/controller.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/controller.py?rev=14578&r1=14577&r2=14578&view=diff
==============================================================================
--- 1.3/gui/controller.py (original)
+++ 1.3/gui/controller.py Fri Sep  2 16:04:59 2011
@@ -390,7 +390,7 @@
         if status.exec_lock.locked():
             # Start the timer.
             if not self.timer.IsRunning():
-                self.timer.Start(100)
+                wx.CallAfter(self.timer.Start, 100)
 
             # Finish.
             return




Related Messages


Powered by MHonArc, Updated Fri Sep 02 16:20:01 2011