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

Method Undo

gui/fitCommands/gui/localModule/swap.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

nothing calls this directly

Calls 2

undoAllMethod · 0.80
getInstanceMethod · 0.45

Tested by

no test coverage detected