Force boosters recalculation in some cases

This commit is contained in:
DarkPhoenix
2011-11-22 17:40:37 +04:00
parent f916c7ccc9
commit 63deb57d26
3 changed files with 7 additions and 7 deletions

View File

@@ -166,7 +166,7 @@ class GangView ( ScrolledPanel ):
elif type == 2:
fleetSrv.setLinearSquadCom(boostee, booster)
sFit.recalc(boostee)
sFit.recalc(boostee, withBoosters=True)
wx.PostEvent(self.mainFrame, GE.FitChanged(fitID=activeFitID))
def fitSelected(self, event):
@@ -226,7 +226,7 @@ class GangView ( ScrolledPanel ):
fleetSrv.setLinearWingCom(boostee, booster)
elif type == 2:
fleetSrv.setLinearSquadCom(boostee, booster)
sFit.recalc(boostee)
sFit.recalc(boostee, withBoosters=True)
wx.PostEvent(self.mainFrame, GE.FitChanged(fitID=activeFitID))
def RefreshCharacterList(self, event = None):