From b9d11de69264ca663d03e4e0c1d2e7e932e21303 Mon Sep 17 00:00:00 2001 From: Gary Burton Date: Sun, 6 Apr 2008 16:49:42 +0000 Subject: [PATCH] 0002010: Person view search parameters duplicated svn: r10503 --- src/Filters/_SearchBar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Filters/_SearchBar.py b/src/Filters/_SearchBar.py index e0c272179..6c7497710 100644 --- a/src/Filters/_SearchBar.py +++ b/src/Filters/_SearchBar.py @@ -79,6 +79,7 @@ class SearchBar: return self.filterbar def setup_filter( self, column_data ): + self.filter_model.clear() old_value = self.filter_list.get_active() cell = gtk.CellRendererText() @@ -86,7 +87,6 @@ class SearchBar: self.filter_list.pack_start(cell, True) self.filter_list.add_attribute(cell, 'text', 0) - maxval = 0 for col, index in column_data: rule = _("%s contains") % col