summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Garland <johnnybg+deluge@gmail.com>2010-10-02 13:55:51 (GMT)
committer John Garland <johnnybg+deluge@gmail.com>2010-10-02 14:01:29 (GMT)
commit6b228ce31fe8cf3e1f4d9ddfc5aaadd6dfc1bece (patch)
tree72300cb5ca638ea504dda8c85aee598b557efd4f
parent40ce4ec731a4e719690f967befcfb2657cf24346 (diff)
downloaddeluge-6b228ce31fe8cf3e1f4d9ddfc5aaadd6dfc1bece.zip
deluge-6b228ce31fe8cf3e1f4d9ddfc5aaadd6dfc1bece.tar.gz
deluge-6b228ce31fe8cf3e1f4d9ddfc5aaadd6dfc1bece.tar.bz2
Fix sidebar not updating (#1365)
-rw-r--r--ChangeLog4
-rw-r--r--deluge/core/filtermanager.py3
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index be05be0..5e223ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/deluge/core/filtermanager.py b/deluge/core/filtermanager.py
index 1538dfd..d3ad27c 100644
--- a/deluge/core/filtermanager.py
+++ b/deluge/core/filtermanager.py
@@ -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: