Make removal of fighters completely undoable

This commit is contained in:
DarkPhoenix
2019-04-11 16:31:44 +03:00
parent 2341650437
commit e90e9a5ca1
5 changed files with 46 additions and 21 deletions

View File

@@ -33,7 +33,7 @@ class GuiAddProjectedCommand(wx.Command):
if item.category.name == "Drone":
result = self.internal_history.Submit(FitAddProjectedDroneCommand(self.fitID, self.id))
elif item.category.name == "Fighter":
result = self.internal_history.Submit(FitAddProjectedFighterCommand(self.fitID, self.id))
result = self.internal_history.Submit(FitAddProjectedFighterCommand(self.fitID, self.id, None, None))
else:
result = self.internal_history.Submit(FitAddProjectedModuleCommand(self.fitID, self.id, None, None, None, None, None, None))
elif self.type == 'fit':