Allow customFilters.get_filters() to return a list where an item might be a list of custom filters
svn: r16130
This commit is contained in:
parent
f75cb085b2
commit
6f9ed19a04
@ -49,5 +49,6 @@ def build_filter_model(space, local = []):
|
|||||||
if isinstance(filt, (list, tuple)):
|
if isinstance(filt, (list, tuple)):
|
||||||
for subfilt in filt:
|
for subfilt in filt:
|
||||||
model.append(row=[subfilt.get_name(), subfilt])
|
model.append(row=[subfilt.get_name(), subfilt])
|
||||||
model.append(row=[filt.get_name(), filt])
|
else:
|
||||||
|
model.append(row=[filt.get_name(), filt])
|
||||||
return model
|
return model
|
||||||
|
Loading…
x
Reference in New Issue
Block a user