mailr14708 - /1.3/gui/analyses/base.py


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

Header


Content

Posted by edward on September 20, 2011 - 10:35:
Author: bugman
Date: Tue Sep 20 10:35:20 2011
New Revision: 14708

URL: http://svn.gna.org/viewcvs/relax?rev=14708&view=rev
Log:
Bug fix for a race condition on MS Windows blocking the test suite.

The analyses update_spin_count() call sets the value of the spin systems GUI 
element.  This is now
via a wx.CallAfter() call to prevent the race in the GUI.


Modified:
    1.3/gui/analyses/base.py

Modified: 1.3/gui/analyses/base.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/analyses/base.py?rev=14708&r1=14707&r2=14708&view=diff
==============================================================================
--- 1.3/gui/analyses/base.py (original)
+++ 1.3/gui/analyses/base.py Tue Sep 20 10:35:20 2011
@@ -444,7 +444,7 @@
         """Update the spin count."""
 
         # Set the new value.
-        self.spin_systems.SetValue(str_to_gui(self.spin_count()))
+        wx.CallAfter(self.spin_systems.SetValue, 
str_to_gui(self.spin_count()))
 
 
 




Related Messages


Powered by MHonArc, Updated Tue Sep 20 11:00:02 2011