MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / OnAddCommandFit

Method OnAddCommandFit

gui/builtinShipBrowser/fitItem.py:185–189  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

183 self.mainFrame.additionsPane.select("Projected")
184
185 def OnAddCommandFit(self, event):
186 activeFit = self.mainFrame.getActiveFit()
187 if activeFit:
188 if self.mainFrame.command.Submit(cmd.GuiAddCommandFitsCommand(fitID=activeFit, commandFitIDs=[self.fitID])):
189 self.mainFrame.additionsPane.select("Command")
190
191 def OnMouseCaptureLost(self, event):
192 """ Destroy drag information (GH issue #479)"""

Callers

nothing calls this directly

Calls 2

selectMethod · 0.80
getActiveFitMethod · 0.45

Tested by

no test coverage detected