Fix Compose lacking icon in tree view

A fundamental fix, which affected only Compose
This commit is contained in:
DeepSOIC 2015-10-27 22:07:20 +03:00
parent 5f8d81fd82
commit 18b1b99ac1

View File

@ -54,7 +54,8 @@ def makeLatticeFeature(name, AppClass, icon, ViewClass = None):
vp = ViewClass(obj.ViewObject)
else:
vp = ViewProviderLatticeFeature(obj.ViewObject)
vp.icon = icon
vp.icon = icon
return obj