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

svn: r17625
This commit is contained in:
Michiel Nauta 2011-05-30 20:22:13 +00:00
parent 0a6288548d
commit 783012aa3e

View File

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