Rework GUI booster-related commands

This commit is contained in:
DarkPhoenix
2019-04-14 14:50:15 +03:00
parent c4c68a4e93
commit e6599d1a40
11 changed files with 100 additions and 107 deletions

View File

@@ -158,7 +158,7 @@ class BoosterView(d.Display):
col = self.getColumn(event.Position)
if col == self.getColIndex(State):
fitID = self.mainFrame.getActiveFit()
self.mainFrame.command.Submit(cmd.GuiToggleBoosterCommand(fitID, row))
self.mainFrame.command.Submit(cmd.GuiToggleBoosterStateCommand(fitID, row))
def spawnMenu(self, event):
sel = self.GetFirstSelected()