Force to compare string with string in selection display
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user