mailr15808 - /1.3/gui/relax_gui.py


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

Header


Content

Posted by edward on April 24, 2012 - 14:58:
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()
 




Related Messages


Powered by MHonArc, Updated Tue Apr 24 15:20:02 2012