Author: bugman Date: Tue Jun 11 18:57:58 2013 New Revision: 20051 URL: http://svn.gna.org/viewcvs/relax?rev=20051&view=rev Log: Reverted r20048 as this should be applied to the relax trunk. The command used was: svn merge -r20048:r20047 . ..... Partial fix for bug #20889 (https://gna.org/bugs/?20889). The peak intensity wizard now detects when the spectrum ID argument of the first page is set to a list. The default value for all subsequent user functions is now set to the first element of that list. ..... Modified: branches/relax_disp/gui/wizards/peak_intensity.py Modified: branches/relax_disp/gui/wizards/peak_intensity.py URL: http://svn.gna.org/viewcvs/relax/branches/relax_disp/gui/wizards/peak_intensity.py?rev=20051&r1=20050&r2=20051&view=diff ============================================================================== --- branches/relax_disp/gui/wizards/peak_intensity.py (original) +++ branches/relax_disp/gui/wizards/peak_intensity.py Tue Jun 11 18:57:58 2013 @@ -265,10 +265,6 @@ # Set the spectrum ID. id = page.uf_args['spectrum_id'].GetValue() - # Handle list arguments. - if isinstance(id, list): - id = id[0] - # Set the ID in the page. page = self.get_page(self.page_indices[page_key]) if index == None: