diff --git a/gui/itemStats.py b/gui/itemStats.py index b2b648468..cf98874b0 100644 --- a/gui/itemStats.py +++ b/gui/itemStats.py @@ -302,7 +302,12 @@ class ItemParams (wx.Panel): if info: if info.icon is not None: iconFile = info.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: