Skip to content

Commit

Permalink
Arch: Fixed behaviour of alternative wall icon
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Jan 9, 2019
1 parent 511a9ed commit 9a72871
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Mod/Arch/ArchWall.py
Expand Up @@ -939,9 +939,8 @@ def getIcon(self):
if hasattr(self,"Object"):
if self.Object.CloneOf:
return ":/icons/Arch_Wall_Clone.svg"
for o in self.Object.OutList:
if Draft.getType(o) == "Wall":
return ":/icons/Arch_Wall_Tree_Assembly.svg"
elif (not self.Object.Base) and self.Object.Additions:
return ":/icons/Arch_Wall_Tree_Assembly.svg"
return ":/icons/Arch_Wall_Tree.svg"

def attach(self,vobj):
Expand Down

0 comments on commit 9a72871

Please sign in to comment.