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.


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to