Instead of icon, use unicode refresh. Minor issues with image and GUI flickering

This commit is contained in:
blitzmann
2015-06-06 22:42:42 -05:00
parent 53c9169043
commit 6cc6fd9468
2 changed files with 5 additions and 7 deletions

View File

@@ -54,11 +54,9 @@ class Price(ViewColumn):
def callback(item):
price = sMkt.getPriceNow(item.ID).price
colItem.SetText(formatAmount(price, 3, 3, 9, currency=True) if price else "")
colItem.SetImage(-1)
display.SetItem(colItem)
display.SetItem(colItem)
sMkt.waitForPrice(mod.item, callback)
return self.fittingView.imageList.GetImageIndex("refresh_small", "icons")
def getImageId(self, mod):
return -1