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

Method Undo

gui/fitCommands/gui/projectedRemove.py:71–79  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

69 return success
70
71 def Undo(self):
72 success = self.internalHistory.undoAll()
73 eos.db.flush()
74 sFit = Fit.getInstance()
75 sFit.recalc(self.fitID)
76 sFit.fill(self.fitID)
77 eos.db.commit()
78 wx.PostEvent(gui.mainFrame.MainFrame.getInstance(), GE.FitChanged(fitIDs=(self.fitID,)))
79 return success

Callers

nothing calls this directly

Calls 5

undoAllMethod · 0.80
flushMethod · 0.80
recalcMethod · 0.80
getInstanceMethod · 0.45
fillMethod · 0.45

Tested by

no test coverage detected