Rework setting mode and fix command which changes fit name
It was just broken before
This commit is contained in:
@@ -61,7 +61,7 @@ class TacticalMode(ContextMenu):
|
||||
return
|
||||
|
||||
fitID = self.mainFrame.getActiveFit()
|
||||
self.mainFrame.command.Submit(cmd.GuiSetModeCommand(fitID, self.modeIds[event.Id]))
|
||||
self.mainFrame.command.Submit(cmd.GuiSetModeCommand(fitID, self.modeIds[event.Id].item.ID))
|
||||
|
||||
|
||||
TacticalMode.register()
|
||||
|
||||
Reference in New Issue
Block a user