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

Method Undo

gui/fitCommands/gui/cargo/add.py:28–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26 return success
27
28 def Undo(self):
29 success = self.internalHistory.undoAll()
30 eos.db.commit()
31 wx.PostEvent(gui.mainFrame.MainFrame.getInstance(), GE.FitChanged(fitIDs=(self.fitID,)))
32 return success

Callers 3

registerMenuMethod · 0.45
submitBatchMethod · 0.45
undoAllMethod · 0.45

Calls 2

undoAllMethod · 0.80
getInstanceMethod · 0.45

Tested by

no test coverage detected