Add sew function to the draft facebinder. Besides facebinder and patharray get their own icons in the tree view.

This commit is contained in:
ageeye
2018-06-10 17:37:43 +02:00
committed by Yorik van Havre
parent bb6959904d
commit d48aa2e75b

View File

@@ -6241,7 +6241,7 @@ class _ViewProviderDraftArray(_ViewProviderDraft):
_ViewProviderDraft.__init__(self,vobj)
def getIcon(self):
if hasattr(self.vobj.Object,"ArrayType"):
if hasattr(self.Object,"ArrayType"):
return ":/icons/Draft_Array.svg"
return ":/icons/Draft_PathArray.svg"