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

Method activate

gui/builtinContextMenus/graphLockRange.py:25–27  ·  view source on GitHub ↗
(self, callingWindow, fullContext, i)

Source from the content-addressed store, hash-verified

23 return _t('Ignore Lock Range')
24
25 def activate(self, callingWindow, fullContext, i):
26 self.settings.set('ignoreLockRange', not self.settings.get('ignoreLockRange'))
27 wx.PostEvent(self.mainFrame, GE.GraphOptionChanged())
28
29 def isChecked(self, i):
30 return self.settings.get('ignoreLockRange')

Callers

nothing calls this directly

Calls 2

setMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected