Author: bugman
Date: Tue Feb 3 15:44:55 2015
New Revision: 27473
URL: http://svn.gna.org/viewcvs/relax?rev=27473&view=rev
Log:
Fix for the previous commit (r27472).
Calls to wx.Yield() are required to flush the calls on the observer objects
after unregisteristing
them and deleting the results and pipe editor windows.
Modified:
trunk/test_suite/gui_tests/base_classes.py
Modified: trunk/test_suite/gui_tests/base_classes.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/test_suite/gui_tests/base_classes.py?rev=27473&r1=27472&r2=27473&view=diff
==============================================================================
--- trunk/test_suite/gui_tests/base_classes.py (original)
+++ trunk/test_suite/gui_tests/base_classes.py Tue Feb 3 15:44:55 2015
@@ -170,12 +170,14 @@
# Kill the pipe editor window.
if hasattr(self.app.gui, 'pipe_editor'):
self.app.gui.pipe_editor.handler_close()
+ wx.Yield()
self.app.gui.pipe_editor.Destroy()
del self.app.gui.pipe_editor
# Kill the results viewer window.
if hasattr(self.app.gui, 'results_viewer'):
self.app.gui.results_viewer.handler_close()
+ wx.Yield()
self.app.gui.results_viewer.Destroy()
del self.app.gui.results_viewer
_______________________________________________
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