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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user