Apply no-icon fix to affliction tree too
This commit is contained in:
@@ -604,7 +604,11 @@ class ItemAffectedBy (wx.Panel):
|
||||
if attrInfo:
|
||||
if attrInfo.icon is not None:
|
||||
iconFile = attrInfo.icon.iconFile
|
||||
attrIcon = self.imageList.Add(bitmapLoader.getBitmap(iconFile, "pack"))
|
||||
icon = bitmapLoader.getBitmap(iconFile, "pack")
|
||||
if icon is None:
|
||||
icon = bitmapLoader.getBitmap("transparent16x16", "icons")
|
||||
|
||||
attrIcon = self.imageList.Add(icon)
|
||||
else:
|
||||
attrIcon = self.imageList.Add(bitmapLoader.getBitmap("07_15", "pack"))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user