Fix: QIcon.ThemeIcon.TextXGeneric durch korrekten String-Namen ersetzen
This commit is contained in:
@@ -630,7 +630,7 @@ class TreeManagerMixin:
|
||||
if xml_icon.isNull():
|
||||
xml_icon = QIcon.fromTheme("application-xml")
|
||||
if xml_icon.isNull():
|
||||
xml_icon = QIcon.fromTheme(QIcon.ThemeIcon.TextXGeneric)
|
||||
xml_icon = QIcon.fromTheme("text-x-generic")
|
||||
xml_item.setIcon(0, xml_icon)
|
||||
|
||||
# Prüfe ob XML-Datei existiert und deaktiviere Knoten falls nicht
|
||||
|
||||
Reference in New Issue
Block a user