diff --git a/deluge/ui/gtkui/filtertreeview.py b/deluge/ui/gtkui/filtertreeview.py index 787d62303..350249e0f 100644 --- a/deluge/ui/gtkui/filtertreeview.py +++ b/deluge/ui/gtkui/filtertreeview.py @@ -232,14 +232,13 @@ class FilterTreeView(component.Component): pix = self.get_pixmap(cat, value) label = value - if cat == "state" or cat == "tracker_host": - label = _t(value) - if label == "": if cat == "tracker_host": label = _t("none") elif cat == "label": label = _t("no_label") + elif cat == "state" or cat == "tracker_host": + label = _t(value) row = self.treestore.append(self.cat_nodes[cat],[cat, value, label, count , pix, True]) self.filters[(cat, value)] = row