MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / addFit

Method addFit

graphs/gui/lists.py:240–247  ·  view source on GitHub ↗
(self, fit)

Source from the content-addressed store, hash-verified

238
239 # Context menu handlers
240 def addFit(self, fit):
241 if fit is None:
242 return
243 if self.containsFitID(fit.ID):
244 return
245 self.appendItem(fit)
246 self.updateView()
247 self.graphFrame.draw()
248
249 def getExistingFitIDs(self):
250 return [w.item.ID for w in self._wrappers if w.isFit]

Callers

nothing calls this directly

Calls 4

containsFitIDMethod · 0.95
appendItemMethod · 0.95
updateViewMethod · 0.95
drawMethod · 0.45

Tested by

no test coverage detected