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

Method OnClose

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

Source from the content-addressed store, hash-verified

244 event.Skip()
245
246 def OnClose(self, event):
247 wx.PostEvent(self.mainFrame, GE.CharListUpdated())
248 sFit = Fit.getInstance()
249 fitID = self.mainFrame.getActiveFit()
250 if fitID is not None:
251 sFit.clearFit(fitID)
252 wx.PostEvent(self.mainFrame, GE.FitChanged(fitIDs=(fitID,)))
253 event.Skip()
254
255 def restrict(self):
256 self.entityEditor.btnRename.Enable(False)

Callers

nothing calls this directly

Calls 3

clearFitMethod · 0.80
getInstanceMethod · 0.45
getActiveFitMethod · 0.45

Tested by

no test coverage detected