Fix situation in which module prices are fetched individually (which the price column). Instead, have them wait in a queue that is processed when the entire fit is called and calculated (with the price pane). Also adds a little refresh icon to know that prices are updating and it's not just blank (might change)

This commit is contained in:
blitzmann
2015-06-04 14:10:27 -05:00
parent 3395f8ebe6
commit 9e96aac04d
4 changed files with 37 additions and 6 deletions

View File

@@ -249,10 +249,10 @@ class Display(wx.ListCtrl):
oldImageId = colItem.GetImage()
newText = col.getText(st)
if newText is False:
col.delayedText(st, self, colItem)
newImageId = col.delayedText(st, self, colItem)
newText = ""
newImageId = col.getImageId(st)
else:
newImageId = col.getImageId(st)
colItem.SetText(newText)
colItem.SetImage(newImageId)