4906: Infinitive loop when trying to remove matched person/event filter rules

svn: r17627
This commit is contained in:
Michiel Nauta 2011-05-30 20:23:41 +00:00
parent a79e8f8860
commit d7200b028a

View File

@ -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) \