fix PyQt6 long spelling for enums

This commit is contained in:
KIU Shueng Chuan 2021-06-10 03:33:04 +08:00
parent b3e8f332fb
commit 6a2bfa5c84

View File

@ -128,8 +128,8 @@ class Exporter(object):
while len(childs) > 0: while len(childs) > 0:
ch = childs.pop(0) ch = childs.pop(0)
tree = self.getPaintItems(ch) tree = self.getPaintItems(ch)
if (ch.flags() & ch.ItemStacksBehindParent) or \ if (ch.flags() & ch.GraphicsItemFlag.ItemStacksBehindParent) or \
(ch.zValue() < 0 and (ch.flags() & ch.ItemNegativeZStacksBehindParent)): (ch.zValue() < 0 and (ch.flags() & ch.GraphicsItemFlag.ItemNegativeZStacksBehindParent)):
preItems.extend(tree) preItems.extend(tree)
else: else:
postItems.extend(tree) postItems.extend(tree)