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

Method revertChar

gui/characterEditor.py:234–238  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

232 wx.PostEvent(self, GE.CharListUpdated())
233
234 def revertChar(self, event):
235 sChr = Character.getInstance()
236 char = self.entityEditor.getActiveEntity()
237 sChr.revertCharacter(char.ID)
238 wx.PostEvent(self, GE.CharListUpdated())
239
240 def kbEvent(self, event):
241 if event.GetKeyCode() == wx.WXK_ESCAPE and event.GetModifiers() == wx.MOD_NONE:

Callers

nothing calls this directly

Calls 3

getActiveEntityMethod · 0.80
revertCharacterMethod · 0.80
getInstanceMethod · 0.45

Tested by

no test coverage detected