Make toggling side-effects undoable

This commit is contained in:
DarkPhoenix
2019-04-10 18:47:46 +03:00
parent fda2c43a1d
commit 8072bb600c
6 changed files with 75 additions and 11 deletions

View File

@@ -396,13 +396,6 @@ class Fit(FitDeprecated):
eos.db.commit()
self.recalc(fit)
def toggleBoosterSideEffect(self, fitID, sideEffect):
pyfalog.debug("Toggling booster side effect for fit ID: {0}", fitID)
fit = eos.db.getFit(fitID)
sideEffect.active = not sideEffect.active
eos.db.commit()
self.recalc(fit)
def changeChar(self, fitID, charID):
pyfalog.debug("Changing character ({0}) for fit ID: {1}", charID, fitID)
if fitID is None or charID is None: