author | Thierry Florac <tflorac@ulthar.net> |
Sun, 28 Oct 2018 16:22:29 +0100 | |
changeset 1045 | ed4ce8ff68ba |
parent 1044 | f59a33bc8f1a |
child 1046 | 8c0d5eec0c59 |
src/pyams_content/reference/pictograms/zmi/manager.py | file | annotate | diff | comparison | revisions |
--- a/src/pyams_content/reference/pictograms/zmi/manager.py Fri Oct 26 10:03:07 2018 +0200 +++ b/src/pyams_content/reference/pictograms/zmi/manager.py Sun Oct 28 16:22:29 2018 +0100 @@ -104,7 +104,7 @@ manager = self.pictogram_manager if manager is not None: for pictogram in self.sorted_pictograms: - if pictogram.__name__ not in manager.selected_pictograms: + if pictogram.__name__ not in (manager.selected_pictograms or ()): yield pictogram @property