mailr14690 - /1.3/gui/user_functions/relax_fit.py


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

Header


Content

Posted by edward on September 19, 2011 - 12:02:
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)




Related Messages


Powered by MHonArc, Updated Mon Sep 19 12:40:02 2011