Author: bugman Date: Wed Jun 6 15:36:09 2012 New Revision: 16698 URL: http://svn.gna.org/viewcvs/relax?rev=16698&view=rev Log: Bug fix for the Combo_list GUI input element - lists of values can now be set. The combo box data matching was not correct! Modified: branches/uf_redesign/gui/input_elements/combo_list.py Modified: branches/uf_redesign/gui/input_elements/combo_list.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/gui/input_elements/combo_list.py?rev=16698&r1=16697&r2=16698&view=diff ============================================================================== --- branches/uf_redesign/gui/input_elements/combo_list.py (original) +++ branches/uf_redesign/gui/input_elements/combo_list.py Wed Jun 6 15:36:09 2012 @@ -342,7 +342,7 @@ for i in range(len(value)): # Loop until the proper client data is found. for j in range(self._combo_boxes[i].GetCount()): - if self._combo_boxes[i].GetClientData(j) == value: + if self._combo_boxes[i].GetClientData(j) == value[i]: self._combo_boxes[i].SetSelection(j) break