mailr11751 - /branches/bieri_gui/gui_bieri/user_functions/script.py


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

Header


Content

Posted by edward on December 08, 2010 - 23:45:
Author: bugman
Date: Wed Dec  8 23:45:13 2010
New Revision: 11751

URL: http://svn.gna.org/viewcvs/relax?rev=11751&view=rev
Log:
The relax controller is only shown if a script file is selected to be 
executed.


Modified:
    branches/bieri_gui/gui_bieri/user_functions/script.py

Modified: branches/bieri_gui/gui_bieri/user_functions/script.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/user_functions/script.py?rev=11751&r1=11750&r2=11751&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/user_functions/script.py (original)
+++ branches/bieri_gui/gui_bieri/user_functions/script.py Wed Dec  8 23:45:13 
2010
@@ -41,12 +41,12 @@
         # User selection of the file.
         file = openfile(msg='Select the relax script to execute')
 
-        # Show the relax controller.
-        self.gui.controller.Show()
-
         # Check the file.
         if not file:
             return
 
+        # Show the relax controller.
+        self.gui.controller.Show()
+
         # Execute the user function.
         self.interpreter.script(str(file))




Related Messages


Powered by MHonArc, Updated Thu Dec 09 08:00:02 2010