Fixed a bug that caused torrent options popup to not display in some circumstances
This commit is contained in:
parent
a66bd5e847
commit
76babd951d
|
@ -272,7 +272,9 @@ def torrent_action(idx, data, mode, ids):
|
||||||
caption = "{!info!}" + torrent_options_to_names[field]
|
caption = "{!info!}" + torrent_options_to_names[field]
|
||||||
value = options[field]
|
value = options[field]
|
||||||
if field_type == str:
|
if field_type == str:
|
||||||
option_popup.add_text_input(caption, field, str(value))
|
if not isinstance(value, basestring):
|
||||||
|
value = str(value)
|
||||||
|
option_popup.add_text_input(caption, field, value)
|
||||||
elif field_type == bool:
|
elif field_type == bool:
|
||||||
if options[field] == "multiple":
|
if options[field] == "multiple":
|
||||||
choices = (
|
choices = (
|
||||||
|
|
Loading…
Reference in New Issue