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

Method activate

gui/builtinContextMenus/factorReload.py:28–30  ·  view source on GitHub ↗
(self, callingWindow, fullContext, i)

Source from the content-addressed store, hash-verified

26 return _t("Factor in Reload Time")
27
28 def activate(self, callingWindow, fullContext, i):
29 fitIDs = Fit.getInstance().toggleFactorReload()
30 wx.PostEvent(self.mainFrame, GE.FitChanged(fitIDs=tuple(fitIDs)))
31
32 def isChecked(self, i):
33 sFit = Fit.getInstance()

Callers

nothing calls this directly

Calls 2

toggleFactorReloadMethod · 0.80
getInstanceMethod · 0.45

Tested by

no test coverage detected