Use the Implant toggle in the booster view too

This commit is contained in:
cncfanatics
2010-10-21 14:02:34 +02:00
parent 34e0396c83
commit 5287456030
3 changed files with 27 additions and 2 deletions

View File

@@ -244,6 +244,16 @@ class Fit(object):
fit.calculateModifiedAttributes()
return True
def toggleBooster(self, fitID, i):
fit = eos.db.getFit(fitID)
booster = fit.boosters[i]
booster.active = not booster.active
eos.db.commit()
fit.clear()
fit.calculateModifiedAttributes()
return True
def changeChar(self, fitID, charID):
if fitID is None or charID is None:
return