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

Method determineEnabled

gui/characterEditor.py:769–775  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

767 pyfalog.debug("ContextMenu.getMenu returned false do not attempt PopupMenu")
768
769 def determineEnabled(self):
770 char = self.Parent.Parent.entityEditor.getActiveEntity()
771
772 if char.name in ("All 0", "All 5"):
773 self.Enable(False)
774 else:
775 self.Enable()
776
777
778class APIView(wx.Panel):

Callers 2

__init__Method · 0.95
contextChangedMethod · 0.95

Calls 1

getActiveEntityMethod · 0.80

Tested by

no test coverage detected