mailr16146 - /branches/uf_redesign/gui/wizard_elements.py


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

Header


Content

Posted by edward on May 09, 2012 - 12:11:
Author: bugman
Date: Wed May  9 12:11:07 2012
New Revision: 16146

URL: http://svn.gna.org/viewcvs/relax?rev=16146&view=rev
Log:
Fix for the Value.ResetChoices() method for ComboBoxes for handling 
non-string types.


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=16146&r1=16145&r2=16146&view=diff
==============================================================================
--- branches/uf_redesign/gui/wizard_elements.py (original)
+++ branches/uf_redesign/gui/wizard_elements.py Wed May  9 12:11:07 2012
@@ -1369,7 +1369,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]), i, 
combo_data[i])
+                self._field.Insert(self.convert_to_gui(combo_choices[i]), i, 
combo_data[i])
 
             # Set the default selection.
             if combo_default:




Related Messages


Powered by MHonArc, Updated Wed May 09 12:20:02 2012