From 536f15f53d127851030d70d1d9f05e9311b3acc5 Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Mon, 30 May 2011 20:23:02 +0000 Subject: [PATCH] 4906: Infinitive loop when trying to remove matched person/event filter rules svn: r17626 --- src/gui/filtereditor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/filtereditor.py b/src/gui/filtereditor.py index f8f3662d2..25d0740f7 100644 --- a/src/gui/filtereditor.py +++ b/src/gui/filtereditor.py @@ -1112,6 +1112,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) \