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

Method Undo

gui/fitCommands/calc/fighter/localAdd.py:53–58  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

51 return True
52
53 def Undo(self):
54 pyfalog.debug('Undoing addition of fighter {} to fit {}'.format(self.fighterInfo, self.fitID))
55 from .localRemove import CalcRemoveLocalFighterCommand
56 cmd = CalcRemoveLocalFighterCommand(fitID=self.fitID, position=self.position)
57 cmd.Do()
58 return True

Callers

nothing calls this directly

Calls 2

DoMethod · 0.95

Tested by

no test coverage detected