4906: Infinitive loop when trying to remove matched person/event filter rules
svn: r17626
This commit is contained in:
parent
2cc2dcf7be
commit
536f15f53d
@ -1112,6 +1112,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