Author: bugman Date: Thu May 3 16:29:16 2012 New Revision: 15906 URL: http://svn.gna.org/viewcvs/relax?rev=15906&view=rev Log: Fix for the Base_value ResetChoices() method. The recent simplification was failing as the ComboBox.Insert() method could not handle the position being set to sys.maxint, unlike most other of its methods. Modified: 1.3/gui/wizard_elements.py Modified: 1.3/gui/wizard_elements.py URL: http://svn.gna.org/viewcvs/relax/1.3/gui/wizard_elements.py?rev=15906&r1=15905&r2=15906&view=diff ============================================================================== --- 1.3/gui/wizard_elements.py (original) +++ 1.3/gui/wizard_elements.py Thu May 3 16:29:16 2012 @@ -207,7 +207,7 @@ # Loop over the choices and data, adding both to the end. for i in range(len(combo_choices)): - self._field.Insert(str_to_gui(combo_choices[i]), sys.maxint, combo_data[i]) + self._field.Insert(str_to_gui(combo_choices[i]), i, combo_data[i]) # Set the default selection. if combo_default: