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

Method removeCommandFits

gui/builtinAdditionPanes/commandView.py:220–226  ·  view source on GitHub ↗
(self, commandFits)

Source from the content-addressed store, hash-verified

218 self.removeCommandFits([commandFit])
219
220 def removeCommandFits(self, commandFits):
221 fitID = self.mainFrame.getActiveFit()
222 commandFitIDs = []
223 for commandFit in commandFits:
224 if commandFit in self.fits:
225 commandFitIDs.append(commandFit.ID)
226 self.mainFrame.command.Submit(cmd.GuiRemoveCommandFitsCommand(fitID=fitID, commandFitIDs=commandFitIDs))
227
228 def getSelectedCommandFits(self):
229 commandFits = []

Callers 2

kbEventMethod · 0.95
onLeftDoubleClickMethod · 0.95

Calls 2

getActiveFitMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected