Author: bugman Date: Mon Sep 5 18:49:21 2011 New Revision: 14590 URL: http://svn.gna.org/viewcvs/relax?rev=14590&view=rev Log: Fix for the relax_fit.relax_time GUI user function. The combobox GetValue() call has been replaced by GetStringSelection() for the spectrum ID. Modified: 1.3/gui/user_functions/relax_fit.py Modified: 1.3/gui/user_functions/relax_fit.py URL: http://svn.gna.org/viewcvs/relax/1.3/gui/user_functions/relax_fit.py?rev=14590&r1=14589&r2=14590&view=diff ============================================================================== --- 1.3/gui/user_functions/relax_fit.py (original) +++ 1.3/gui/user_functions/relax_fit.py Mon Sep 5 18:49:21 2011 @@ -99,7 +99,7 @@ time = gui_to_float(self.time.GetValue()) # The spectrum ID. - spectrum_id = gui_to_str(self.spectrum_id.GetValue()) + spectrum_id = gui_to_str(self.spectrum_id.GetStringSelection()) # Read the relaxation data. self.gui.interpreter.queue('relax_fit.relax_time', time=time, spectrum_id=spectrum_id)