4906: Infinitive loop when trying to remove matched person/event filter rules
svn: r17627
This commit is contained in:
parent
a79e8f8860
commit
d7200b028a
@ -1079,6 +1079,8 @@ class FilterEditor(ManagedWindow.ManagedWindow):
|
|||||||
filters = self.filterdb.get_filters(space)
|
filters = self.filterdb.get_filters(space)
|
||||||
name = gfilter.get_name()
|
name = gfilter.get_name()
|
||||||
for the_filter in filters:
|
for the_filter in filters:
|
||||||
|
if the_filter.get_name() == name:
|
||||||
|
continue
|
||||||
for rule in the_filter.get_rules():
|
for rule in the_filter.get_rules():
|
||||||
values = rule.values()
|
values = rule.values()
|
||||||
if issubclass(rule.__class__, MatchesFilterBase) \
|
if issubclass(rule.__class__, MatchesFilterBase) \
|
||||||
|
Loading…
Reference in New Issue
Block a user