GTKUI: Ensure None value from problem config is empty string for set_text

This commit is contained in:
Calum Lind 2014-02-09 18:47:55 +00:00
parent 9f75d4597e
commit 58c048f1b0

View File

@ -373,6 +373,8 @@ class Preferences(component.Component):
elif modifier == "value":
widget.set_value(float(value))
elif modifier == "text":
if value is None:
value = ""
widget.set_text(value)
for key in core_widgets.keys():