Author: bugman Date: Tue Jun 14 16:47:09 2011 New Revision: 12999 URL: http://svn.gna.org/viewcvs/relax?rev=12999&view=rev Log: The relaxation delay times are no longer reset if the number of cycles is not set. Modified: 1.3/gui/components/spectrum.py Modified: 1.3/gui/components/spectrum.py URL: http://svn.gna.org/viewcvs/relax/1.3/gui/components/spectrum.py?rev=12999&r1=12998&r2=12999&view=diff ============================================================================== --- 1.3/gui/components/spectrum.py (original) +++ 1.3/gui/components/spectrum.py Tue Jun 14 16:47:09 2011 @@ -768,10 +768,6 @@ # The number of cycles. ncyc = str(self.grid.GetCellValue(i, 2)) - # No time or no cycles, so set the value to nothing. - if time == '' or ncyc in ['', '0']: - self.grid.SetCellValue(i, 1, '') - # Update the relaxation time. - else: + if time != '' and ncyc not in ['', '0']: self.grid.SetCellValue(i, 1, str(int(ncyc) * time))