PermListModel: Fix bug in creating permission set intersection.

ObjClass.perms is now a frozenset, so it can't be updated.
This commit is contained in:
Chris PeBenito 2018-11-16 10:14:39 -05:00
parent ce15d9b218
commit 17a20a596a

View File

@ -124,7 +124,7 @@ class PermListModel(SEToolsListModel):
# create intersection
for cls in classes:
cls_perms = cls.perms
cls_perms = set(cls.perms)
with suppress(NoCommon):
cls_perms.update(cls.common.perms)