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

Method OnTextEnter

gui/ssoLogin.py:75–81  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

73 self.Bind(wx.EVT_WINDOW_DESTROY, self.OnDestroy)
74
75 def OnTextEnter(self, event):
76 t = event.String.strip()
77 if t == "":
78 self.okBtn.Enable(False)
79 else:
80 self.okBtn.Enable(True)
81 event.Skip()
82
83 def OnLogin(self, event):
84 # This would normally happen if it was logged in via server auto-login. In this case, the modal is done, we effectively want to cancel out

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected