Fix (not really) an issue with a dead character editor still receiving events

This commit is contained in:
blitzmann
2018-05-14 18:27:53 -04:00
parent a2877f6b5f
commit 51e610830f

View File

@@ -788,6 +788,8 @@ class APIView(wx.Panel):
return self.charChoice.GetClientData(selection) if selection is not -1 else None
def ssoListChanged(self, event):
if not self: # todo: fix event not unbinding properly
return
sEsi = Esi.getInstance()
ssoChars = sEsi.getSsoCharacters()