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

Method addFit

gui/builtinAdditionPanes/projectedView.py:385–391  ·  view source on GitHub ↗
(self, fit)

Source from the content-addressed store, hash-verified

383
384 # Context menu handlers
385 def addFit(self, fit):
386 if fit is None:
387 return
388 self.mainFrame.command.Submit(cmd.GuiAddProjectedFitsCommand(
389 fitID=self.mainFrame.getActiveFit(),
390 projectedFitIDs=[fit.ID],
391 amount=1))
392
393 def getExistingFitIDs(self):
394 return [f.ID for f in self.fits]

Callers

nothing calls this directly

Calls 1

getActiveFitMethod · 0.45

Tested by

no test coverage detected