Rework 3 more UI commands

This commit is contained in:
DarkPhoenix
2019-04-15 12:06:07 +03:00
parent 59fb7bcd1b
commit a560597a85
10 changed files with 59 additions and 60 deletions

View File

@@ -656,7 +656,7 @@ class MainFrame(wx.Frame):
del self.waitDialog
del self.disablerAll
rebaseMap = {k.ID: v.ID for k, v in replacementsCheaper.items()}
self.command.Submit(cmd.GuiRebaseItemsCommand(fitID, rebaseMap))
self.command.Submit(cmd.GuiRebaseItemsCommand(fitID=fitID, rebaseMap=rebaseMap))
fitItems = {i for i in Fit.fitItemIter(fit) if i is not fit.ship.item}
self.disablerAll = wx.WindowDisabler()