mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-11 12:04:10 +00:00
Do not request a tracker icon if the host is ""
This commit is contained in:
parent
70161a54fa
commit
f08e5176c3
@ -210,7 +210,7 @@ class FilterTreeView(component.Component):
|
||||
row = self.treestore.append(self.cat_nodes[cat],[cat, value, label, count , pix, True])
|
||||
self.filters[(cat, value)] = row
|
||||
|
||||
if cat == "tracker_host" and value not in ("All", "Error"):
|
||||
if cat == "tracker_host" and value not in ("All", "Error") and value:
|
||||
d = self.tracker_icons.get(value)
|
||||
d.addCallback(on_get_icon)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user