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

Method Undo

gui/fitCommands/calc/commandFit/remove.py:39–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

37 return True
38
39 def Undo(self):
40 pyfalog.debug('Undoing removal of command fit {} for fit {}'.format(self.commandFitID, self.fitID))
41 from .add import CalcAddCommandCommand
42 cmd = CalcAddCommandCommand(
43 fitID=self.fitID,
44 commandFitID=self.commandFitID,
45 state=self.savedState)
46 return cmd.Do()

Callers

nothing calls this directly

Calls 2

DoMethod · 0.95

Tested by

no test coverage detected