Hi Edward
I realised if you open the User functions > Molecule > add dialog and
then close it using the close box, the GUI can't be close properly
anymore. This is because there is no specific Hide() function assigned
to the box. So if the dialog is closed by the box, it will be destroyed
(for ever!).
Cheers
Michael
Am 09.12.2010 09:45, schrieb edward@xxxxxxxxxxxxx:
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))
_______________________________________________
relax (http://nmr-relax.com)
This is the relax-commits mailing list
relax-commits@xxxxxxx
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