Save secondary state changes and restore them on undo

This commit is contained in:
DarkPhoenix
2019-04-16 14:48:25 +03:00
parent 30b12b04e8
commit fbf3cace10
21 changed files with 92 additions and 49 deletions

View File

@@ -138,7 +138,7 @@ class GuiCargoToLocalModuleCommand(wx.Command):
else:
return False
eos.db.commit()
sFit.recalc(self.fitID)
sFit.recalc(fit)
events = []
if self.removedModItemID is not None:
events.append(GE.FitChanged(fitID=self.fitID, action='moddel', typeID=self.removedModItemID))