Importance colours added to the GUI

This commit is contained in:
Veronica K. B. Olsen
2019-05-12 21:54:21 +02:00
parent 8d8fc72cc1
commit 53b97e8399
5 changed files with 56 additions and 13 deletions
+10 -4
View File
@@ -54,10 +54,16 @@ class GuiItemEditor(QDialog):
self.editStatus = QComboBox()
self.editLayout = QComboBox()
for n in range(len(self.theParent.statusLabels)):
self.editStatus.addItem(
self.theParent.statusIcons[n], self.theParent.statusLabels[n], n
)
if self.theItem.itemClass == nwItemClass.NOVEL:
for n in range(len(self.theParent.statusLabels)):
self.editStatus.addItem(
self.theParent.statusIcons[n], self.theParent.statusLabels[n], n
)
else:
for n in range(len(self.theParent.statusLabels)):
self.editStatus.addItem(
self.theParent.importIcons[n], self.theParent.importLabels[n], n
)
self.validLayouts = []
if self.theItem.itemType == nwItemType.FILE: