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.