mailr16235 - /branches/uf_redesign/gui/components/combo_list.py


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

Header


Content

Posted by edward on May 11, 2012 - 17:22:
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.




Related Messages


Powered by MHonArc, Updated Fri May 11 17:40:02 2012