From d7200b028ae0db018f8e8ce9beda4e1059725eeb Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Mon, 30 May 2011 20:23:41 +0000 Subject: [PATCH] 4906: Infinitive loop when trying to remove matched person/event filter rules svn: r17627 --- src/gui/filtereditor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/filtereditor.py b/src/gui/filtereditor.py index 80d9d59ed..e0b7c51ed 100644 --- a/src/gui/filtereditor.py +++ b/src/gui/filtereditor.py @@ -1079,6 +1079,8 @@ class FilterEditor(ManagedWindow.ManagedWindow): filters = self.filterdb.get_filters(space) name = gfilter.get_name() for the_filter in filters: + if the_filter.get_name() == name: + continue for rule in the_filter.get_rules(): values = rule.values() if issubclass(rule.__class__, MatchesFilterBase) \