Fix issue that caused fits that were supposed to open in the background to calculate. Unfortunately this fix breaks the tab snapshot, will have to figure that out later

This commit is contained in:
blitzmann
2015-10-09 18:32:03 -04:00
parent f090cafa5c
commit a33ec89e87
3 changed files with 11 additions and 5 deletions

View File

@@ -292,7 +292,7 @@ class FittingView(d.Display):
def updateTab(self):
sFit = service.Fit.getInstance()
fit = sFit.getFit(self.getActiveFit())
fit = sFit.getFit(self.getActiveFit(), basic=True)
bitmap = BitmapLoader.getImage("race_%s_small" % fit.ship.item.race, "gui")
text = "%s: %s" % (fit.ship.item.name, fit.name)
@@ -592,7 +592,7 @@ class FittingView(d.Display):
pass
def OnShow(self, event):
if not event.GetShow():
if event.GetShow():
try:
self.MakeSnapshot()
except: