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

Method Undo

gui/fitCommands/gui/fitRename.py:25–29  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

23 return success
24
25 def Undo(self):
26 success = self.internalHistory.undoAll()
27 eos.db.commit()
28 wx.PostEvent(gui.mainFrame.MainFrame.getInstance(), GE.FitRenamed(fitID=self.fitID))
29 return success

Callers

nothing calls this directly

Calls 2

undoAllMethod · 0.80
getInstanceMethod · 0.45

Tested by

no test coverage detected