From 34cd3c1e35342793cfbdcf243388573d9c3423f7 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Tue, 9 Dec 2008 08:27:43 +0000 Subject: [PATCH] Make filtertreeview view options more immediate --- deluge/ui/gtkui/menubar.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deluge/ui/gtkui/menubar.py b/deluge/ui/gtkui/menubar.py index b0972936b..30d4fd8d6 100644 --- a/deluge/ui/gtkui/menubar.py +++ b/deluge/ui/gtkui/menubar.py @@ -426,6 +426,8 @@ class MenuBar(component.Component): def on_menuitem_sidebar_zero_toggled(self, widget): self.config["sidebar_show_zero"] = widget.get_active() + component.get("FilterTreeView").update() def on_menuitem_sidebar_trackers_toggled(self, widget): self.config["sidebar_show_trackers"] = widget.get_active() + component.get("FilterTreeView").update()