mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-05 16:13:41 +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":
|
elif modifier == "not_active":
|
||||||
widget.set_active(not value)
|
widget.set_active(not value)
|
||||||
elif modifier == "value":
|
elif modifier == "value":
|
||||||
widget.set_value(value)
|
widget.set_value(float(value))
|
||||||
elif modifier == "text":
|
elif modifier == "text":
|
||||||
widget.set_text(value)
|
widget.set_text(value)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user