Author: bugman Date: Tue Apr 24 14:58:56 2012 New Revision: 15808 URL: http://svn.gna.org/viewcvs/relax?rev=15808&view=rev Log: All open relax windows are now closed prior to running the test suite within the GUI. Modified: 1.3/gui/relax_gui.py Modified: 1.3/gui/relax_gui.py URL: http://svn.gna.org/viewcvs/relax/1.3/gui/relax_gui.py?rev=15808&r1=15807&r2=15808&view=diff ============================================================================== --- 1.3/gui/relax_gui.py (original) +++ 1.3/gui/relax_gui.py Tue Apr 24 14:58:56 2012 @@ -466,6 +466,16 @@ # Make the relax controller modal so that all other windows are deactivated (to stop users from clicking on things). self.controller.MakeModal(True) + # Close all open windows. + if hasattr(self, 'spin_viewer'): + self.spin_viewer.Close() + if hasattr(self, 'pipe_editor'): + self.pipe_editor.Close() + if hasattr(self, 'results_viewer'): + self.results_viewer.Close() + if hasattr(self, 'relax_prompt'): + self.relax_prompt.Close() + # Reset relax. reset()