Author: bugman Date: Fri May 11 17:22:32 2012 New Revision: 16235 URL: http://svn.gna.org/viewcvs/relax?rev=16235&view=rev Log: Bug fix for the Combo_list.GetValue() method - it can now handle no user input cleanly. Modified: branches/uf_redesign/gui/components/combo_list.py Modified: branches/uf_redesign/gui/components/combo_list.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/gui/components/combo_list.py?rev=16235&r1=16234&r2=16235&view=diff ============================================================================== --- branches/uf_redesign/gui/components/combo_list.py (original) +++ branches/uf_redesign/gui/components/combo_list.py Fri May 11 17:22:32 2012 @@ -256,7 +256,7 @@ val = self.convert_from_gui(self._combo_boxes[i].GetClientData(self._combo_boxes[i].GetSelection())) # Nothing, so skip. - if not len(val): + if val == None or not len(val): continue # Add a comma.