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

Method removeDrone

gui/builtinAdditionPanes/droneView.py:276–281  ·  view source on GitHub ↗
(self, drone)

Source from the content-addressed store, hash-verified

274 self.removeDrone(drone)
275
276 def removeDrone(self, drone):
277 fitID = self.mainFrame.getActiveFit()
278 if drone in self.original:
279 position = self.original.index(drone)
280 self.mainFrame.command.Submit(cmd.GuiRemoveLocalDronesCommand(
281 fitID=fitID, positions=[position], amount=1))
282
283 def removeDroneStacks(self, drones):
284 fitID = self.mainFrame.getActiveFit()

Callers 1

onLeftDoubleClickMethod · 0.95

Calls 1

getActiveFitMethod · 0.45

Tested by

no test coverage detected