mailr26566 - /trunk/gui/analyses/__init__.py


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

Header


Content

Posted by edward on November 13, 2014 - 14:27:
Author: bugman
Date: Thu Nov 13 14:27:02 2014
New Revision: 26566

URL: http://svn.gna.org/viewcvs/relax?rev=26566&view=rev
Log:
Added a wx.Yield() before destroying the new analysis wizard via menu_new().

This is to avoid racing which can be triggered in the test suite.


Modified:
    trunk/gui/analyses/__init__.py

Modified: trunk/gui/analyses/__init__.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/gui/analyses/__init__.py?rev=26566&r1=26565&r2=26566&view=diff
==============================================================================
--- trunk/gui/analyses/__init__.py      (original)
+++ trunk/gui/analyses/__init__.py      Thu Nov 13 14:27:02 2014
@@ -438,6 +438,7 @@
 
         # Delete the wizard GUI element.
         if destroy:
+            wx.Yield()
             self.new_wizard.Destroy()
 
         # Failure, so do nothing.




Related Messages


Powered by MHonArc, Updated Thu Nov 13 16:00:02 2014