mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 00:18:39 +00:00
Fix sidebar not updating (#1365)
This commit is contained in:
parent
df95222849
commit
4cb2bcae25
1 changed files with 1 additions and 2 deletions
|
@ -200,9 +200,8 @@ class FilterManager(component.Component):
|
||||||
value = status[field]
|
value = status[field]
|
||||||
items[field][value] = items[field].get(value, 0) + 1
|
items[field][value] = items[field].get(value, 0) + 1
|
||||||
|
|
||||||
items["tracker_host"]["All"] = len(torrent_ids)
|
|
||||||
|
|
||||||
if "tracker_host" in items:
|
if "tracker_host" in items:
|
||||||
|
items["tracker_host"]["All"] = len(torrent_ids)
|
||||||
items["tracker_host"]["Error"] = len(tracker_error_filter(torrent_ids, ("Error",)))
|
items["tracker_host"]["Error"] = len(tracker_error_filter(torrent_ids, ("Error",)))
|
||||||
|
|
||||||
if "state" in tree_keys and not show_zero_hits:
|
if "state" in tree_keys and not show_zero_hits:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue