Arch: use new name of the icon Part_3D_object

It is defined in the Part Workbench. Before, it was called `Tree_Part`.
This commit is contained in:
vocx-fc
2020-10-07 18:31:13 -05:00
committed by wwmayer
parent 15408b2132
commit 587475fc8a
6 changed files with 20 additions and 12 deletions

View File

@@ -1611,8 +1611,10 @@ class NestTaskPanel:
if hasattr(obj.ViewObject,"Proxy"):
if hasattr(obj.ViewObject.Proxy,"getIcon"):
i.setIcon(QtGui.QIcon(obj.ViewObject.Proxy.getIcon()))
elif hasattr(obj.ViewObject, "Icon"):
i.setIcon(QtGui.QIcon(obj.ViewObject.Icon))
else:
i.setIcon(QtGui.QIcon(":/icons/Tree_Part.svg"))
i.setIcon(QtGui.QIcon(":/icons/Part_3D_object.svg"))
form.addItem(i)
def removeShapes(self):