Force to compare string with string in selection display

This commit is contained in:
Cédric Krier committed 2009-01-07 16:35:18 +01:00
1 parent 217016b6d7
commit cafd5bd75e
1 file changed
+1 -1
@@ -130,7 +130,7 @@ class Selection(WidgetInterface):
else:
found = False
for long_text, sel_value in self._selection.items():
if sel_value == value:
if str(sel_value) == str(value):
child.set_text(long_text)
found = True
break