mailr13903 - /branches/gui_testing/gui/user_functions/value.py


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

Header


Content

Posted by edward on July 26, 2011 - 21:16:
Author: bugman
Date: Tue Jul 26 21:16:04 2011
New Revision: 13903

URL: http://svn.gna.org/viewcvs/relax?rev=13903&view=rev
Log:
Bug fix for the value.set user function page - the parameter rather than 
description is now used.

The description rather than parameter was being sent to the back-end!


Modified:
    branches/gui_testing/gui/user_functions/value.py

Modified: branches/gui_testing/gui/user_functions/value.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/user_functions/value.py?rev=13903&r1=13902&r2=13903&view=diff
==============================================================================
--- branches/gui_testing/gui/user_functions/value.py (original)
+++ branches/gui_testing/gui/user_functions/value.py Tue Jul 26 21:16:04 2011
@@ -121,7 +121,7 @@
         """Execute the user function."""
 
         # The parameter and value.
-        param = gui_to_str(self.param.GetValue())
+        param = self.param.GetClientData(self.param.GetSelection())
         val = gui_to_str(self.val.GetValue())
 
         # The spin ID.




Related Messages


Powered by MHonArc, Updated Tue Jul 26 22:00:02 2011