Part: Fix getIcon() of several view providers to return full path name of the icon file

This commit is contained in:
wmayer
2024-12-19 19:52:49 +01:00
committed by Chris Hennes
parent 0d628cb5fc
commit 3c367b85cd
5 changed files with 14 additions and 21 deletions

View File

@@ -218,7 +218,7 @@ class _ViewProviderCompoundFilter:
vobj.setEditorMode("DontUnhideOnDelete", 2) # set hidden
def getIcon(self):
return "Part_CompoundFilter"
return ":/icons/booleans/Part_CompoundFilter.svg"
def attach(self, vobj):
self.ViewObject = vobj