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

Method addFit

gui/builtinAdditionPanes/commandView.py:239–244  ·  view source on GitHub ↗
(self, fit)

Source from the content-addressed store, hash-verified

237
238 # Context menu handlers
239 def addFit(self, fit):
240 if fit is None:
241 return
242 self.mainFrame.command.Submit(cmd.GuiAddCommandFitsCommand(
243 fitID=self.mainFrame.getActiveFit(),
244 commandFitIDs=[fit.ID]))
245
246 def getExistingFitIDs(self):
247 return [f.ID for f in self.fits]

Callers

nothing calls this directly

Calls 1

getActiveFitMethod · 0.45

Tested by

no test coverage detected