Updated builtinViewColumns.propertyDisplay to use CachingImageList.GetImageIndex
This commit is contained in:
@@ -45,11 +45,7 @@ class PropertyDisplay(ViewColumn):
|
||||
iconFile = info.icon.iconFile if info.icon else None
|
||||
iconType = "pack"
|
||||
if iconFile:
|
||||
bitmap = bitmapLoader.getBitmap(iconFile, iconType)
|
||||
if bitmap:
|
||||
self.imageId = fittingView.imageList.Add(bitmap)
|
||||
else:
|
||||
self.imageId = -1
|
||||
self.imageId = fittingView.imageList.GetImageIndex(iconFile, iconType)
|
||||
else:
|
||||
self.imageId = -1
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user