Fix sidebar not updating (#1365)

This commit is contained in:
John Garland 2010-10-02 23:55:51 +10:00
parent 40ce4ec731
commit 6b228ce31f
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
=== Deluge 1.3.1 (In Development) ===
==== GtkUI ====
* #1365: Fix sidebar not updating show/hide trackers
=== Deluge 1.3.0 (18 September 2010) ===
==== Core ====
* Fix issue where the save_timer is cancelled when it's not active

View File

@ -196,9 +196,8 @@ class FilterManager(component.Component):
value = status[field]
items[field][value] = items[field].get(value, 0) + 1
items["tracker_host"]["All"] = len(torrent_ids)
if "tracker_host" in items:
items["tracker_host"]["All"] = len(torrent_ids)
items["tracker_host"]["Error"] = len(tracker_error_filter(torrent_ids, ("Error",)))
if "state" in tree_keys and not show_zero_hits: