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