Revert "Show an empty icon (transparent 16x16) in item stats if an attribute icon is missing from static data or things are screwed up"
This reverts commit 4560533b2a.
This commit is contained in:
@@ -302,12 +302,7 @@ class ItemParams (wx.Panel):
|
||||
if info:
|
||||
if info.icon is not None:
|
||||
iconFile = info.icon.iconFile
|
||||
icon = bitmapLoader.getBitmap(iconFile, "pack")
|
||||
|
||||
if icon is None:
|
||||
icon = bitmapLoader.getBitmap("transparent16x16", "icons")
|
||||
|
||||
attrIcon = self.imageList.Add( icon )
|
||||
attrIcon = self.imageList.Add(bitmapLoader.getBitmap(iconFile, "pack"))
|
||||
else:
|
||||
attrIcon = self.imageList.Add(bitmapLoader.getBitmap("07_15", "pack"))
|
||||
else:
|
||||
|
||||
Submodule staticdata updated: 7e1bdbf653...6203f51293
Reference in New Issue
Block a user