Only call the colourchanging code on populate instead of refresh (less

calls)
This commit is contained in:
cncfanatics
2010-10-30 17:21:08 +02:00
parent 7b73c0868a
commit acebaf1416

View File

@@ -249,8 +249,8 @@ class FittingView(d.Display):
else:
event.Skip()
def refresh(self, stuff):
d.Display.refresh(self, stuff)
def populate(self, stuff):
d.Display.populate(self, stuff)
sFit = service.Fit.getInstance()
fit = sFit.getFit(self.activeFitID)
slotMap = {}