Reworked slot-copying logic so that we can call it explicitly outside the append. Needed for the fitting commands to know what the previous item ID was that it's replacing.

This commit is contained in:
Ryan Holmes
2018-08-05 08:14:12 -04:00
parent 7a1b4b4a1e
commit 326e1e04c2
6 changed files with 31 additions and 5 deletions

View File

@@ -148,7 +148,7 @@ class BoosterView(d.Display):
def removeBooster(self, booster):
fitID = self.mainFrame.getActiveFit()
self.mainFrame.command.Submit(cmd.GuiRemoveImplantCommand(fitID, self.origional.index(booster)))
self.mainFrame.command.Submit(cmd.GuiRemoveBoosterCommand(fitID, self.origional.index(booster)))
def click(self, event):
event.Skip()