mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-26 19:32:21 +00:00
make sure the value is a float
This commit is contained in:
parent
a75405feb0
commit
24db5bd72a
@ -350,7 +350,7 @@ class Preferences(component.Component):
|
||||
elif modifier == "not_active":
|
||||
widget.set_active(not value)
|
||||
elif modifier == "value":
|
||||
widget.set_value(value)
|
||||
widget.set_value(float(value))
|
||||
elif modifier == "text":
|
||||
widget.set_text(value)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user