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

Method getSelectedCommandFits

gui/builtinAdditionPanes/commandView.py:228–236  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

226 self.mainFrame.command.Submit(cmd.GuiRemoveCommandFitsCommand(fitID=fitID, commandFitIDs=commandFitIDs))
227
228 def getSelectedCommandFits(self):
229 commandFits = []
230 for row in self.getSelectedRows():
231 try:
232 commandFit = self.fits[row]
233 except IndexError:
234 continue
235 commandFits.append(commandFit)
236 return commandFits
237
238 # Context menu handlers
239 def addFit(self, fit):

Callers 3

kbEventMethod · 0.95
clickMethod · 0.95
spawnMenuMethod · 0.95

Calls 2

getSelectedRowsMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected