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

Method addProfile

graphs/gui/lists.py:373–380  ·  view source on GitHub ↗
(self, profile)

Source from the content-addressed store, hash-verified

371
372 # Context menu handlers
373 def addProfile(self, profile):
374 if profile is None:
375 return
376 if self.containsProfileID(profile.ID):
377 return
378 self.appendItem(profile)
379 self.updateView()
380 self.graphFrame.draw()

Callers 1

handleProfileAddMethod · 0.80

Calls 4

appendItemMethod · 0.95
containsProfileIDMethod · 0.80
updateViewMethod · 0.45
drawMethod · 0.45

Tested by

no test coverage detected