mirror of
https://github.com/logos-storage/deluge.git
synced 2026-03-19 18:23:15 +00:00
GTKUI: Ensure None value from problem config is empty string for set_text
This commit is contained in:
parent
9f75d4597e
commit
58c048f1b0
@ -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():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user