Rework implant UI commands

This commit is contained in:
DarkPhoenix
2019-04-14 15:36:30 +03:00
parent e6599d1a40
commit a829efa7ff
10 changed files with 107 additions and 111 deletions

View File

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