Separate project tree icons from the rest

This commit is contained in:
Veronica Berglyd Olsen
2025-01-08 22:22:09 +01:00
parent 5650792be8
commit a0fea3c025
23 changed files with 215 additions and 138 deletions
+1 -3
View File
@@ -255,9 +255,7 @@ class GuiItemDetails(QWidget):
# Class
# =====
classIcon = SHARED.theme.getIcon(
nwLabels.CLASS_ICON[nwItem.itemClass], nwLabels.CLASS_COLOR[nwItem.itemClass]
)
classIcon = SHARED.theme.getIcon(nwLabels.CLASS_ICON[nwItem.itemClass], "root")
self.classIcon.setPixmap(classIcon.pixmap(iPx, iPx))
self.classData.setText(trConst(nwLabels.CLASS_NAME[nwItem.itemClass]))