mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
make sure the value is a float
This commit is contained in:
parent
a75405feb0
commit
24db5bd72a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue