mailr14612 - /1.3/gui/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 September 08, 2011 - 16:52:
Author: bugman
Date: Thu Sep  8 16:52:40 2011
New Revision: 14612

URL: http://svn.gna.org/viewcvs/relax?rev=14612&view=rev
Log:
Fix for the script user function GUI element for opening the file dialog.


Modified:
    1.3/gui/user_functions/script.py

Modified: 1.3/gui/user_functions/script.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/gui/user_functions/script.py?rev=14612&r1=14611&r2=14612&view=diff
==============================================================================
--- 1.3/gui/user_functions/script.py (original)
+++ 1.3/gui/user_functions/script.py Thu Sep  8 16:52:40 2011
@@ -49,7 +49,7 @@
 
         # User selection of the file.
         if not file:
-            dialog = RelaxFileDialog(parent=self, message='Select the relax 
script to execute', wildcard='relax scripts (*.py)|*.py', style=wx.FD_OPEN)
+            dialog = RelaxFileDialog(parent=None, message='Select the relax 
script to execute', wildcard='relax scripts (*.py)|*.py', style=wx.FD_OPEN)
 
             # Show the dialog and catch if no file has been selected.
             if status.show_gui and dialog.ShowModal() != wx.ID_OK:




Related Messages


Powered by MHonArc, Updated Thu Sep 08 17:00:02 2011