Author: bugman Date: Mon Sep 19 12:02:44 2011 New Revision: 14690 URL: http://svn.gna.org/viewcvs/relax?rev=14690&view=rev Log: Reverted r14590 as GetStringSelection() is not how the value from the combo box should be read. The command used was: svn merge -r14590:r14589 . The GetStringSelection() call was causing weirdness if 'Apply' is clicked twice. 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=14690&r1=14689&r2=14690&view=diff ============================================================================== --- 1.3/gui/user_functions/relax_fit.py (original) +++ 1.3/gui/user_functions/relax_fit.py Mon Sep 19 12:02:44 2011 @@ -86,7 +86,7 @@ time = gui_to_float(self.time.GetValue()) # The spectrum ID. - spectrum_id = gui_to_str(self.spectrum_id.GetStringSelection()) + spectrum_id = gui_to_str(self.spectrum_id.GetValue()) # Read the relaxation data. self.execute('relax_fit.relax_time', time=time, spectrum_id=spectrum_id)