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

Method addFits

gui/fitBrowserLite.py:175–181  ·  view source on GitHub ↗
(self, fits)

Source from the content-addressed store, hash-verified

173 self.updateView()
174
175 def addFits(self, fits):
176 for fit in fits:
177 if fit in self.fits:
178 continue
179 self.fits.append(fit)
180 self.fits.sort(key=fitSorter)
181 self.updateView()
182
183 def removeFits(self, fits):
184 for fit in fits:

Callers 4

OnButtonAddMethod · 0.80
OnButtonRemoveMethod · 0.80
OnFromListDclickMethod · 0.80
OnToListDclickMethod · 0.80

Calls 3

updateViewMethod · 0.95
appendMethod · 0.45
sortMethod · 0.45

Tested by

no test coverage detected