The isExported option should only apply to files

This commit is contained in:
Veronica K. B. Olsen
2020-05-10 23:24:32 +02:00
parent a7d2ca24a5
commit 0faf1f9986
13 changed files with 40 additions and 63 deletions
+1 -1
View File
@@ -1350,8 +1350,8 @@ class NWItem():
xSub = self._subPack(xPack,"class", text=str(self.itemClass.name))
xSub = self._subPack(xPack,"status", text=str(self.itemStatus))
xSub = self._subPack(xPack,"expanded", text=str(self.isExpanded))
xSub = self._subPack(xPack,"exported", text=str(self.isExported))
if self.itemType == nwItemType.FILE:
xSub = self._subPack(xPack,"exported", text=str(self.isExported))
xSub = self._subPack(xPack,"layout", text=str(self.itemLayout.name))
xSub = self._subPack(xPack,"charCount", text=str(self.charCount), none=False)
xSub = self._subPack(xPack,"wordCount", text=str(self.wordCount), none=False)