Author: bugman Date: Tue May 8 18:24:19 2012 New Revision: 16114 URL: http://svn.gna.org/viewcvs/relax?rev=16114&view=rev Log: The Value.SetValue() method can handle default values when the list is empty. Modified: branches/uf_redesign/gui/wizard_elements.py Modified: branches/uf_redesign/gui/wizard_elements.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/gui/wizard_elements.py?rev=16114&r1=16113&r2=16114&view=diff ============================================================================== --- branches/uf_redesign/gui/wizard_elements.py (original) +++ branches/uf_redesign/gui/wizard_elements.py Tue May 8 18:24:19 2012 @@ -1368,6 +1368,8 @@ # Translate if needed. if combo_default in combo_choices: string = combo_default + elif combo_default not in combo_data: + string = combo_default else: string = combo_choices[combo_data.index(combo_default)]