From 51e610830f7a777c46fc197853d38d80e799e8d7 Mon Sep 17 00:00:00 2001 From: blitzmann Date: Mon, 14 May 2018 18:27:53 -0400 Subject: [PATCH] Fix (not really) an issue with a dead character editor still receiving events --- gui/characterEditor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/characterEditor.py b/gui/characterEditor.py index c7a2fef8c..f7520e42c 100644 --- a/gui/characterEditor.py +++ b/gui/characterEditor.py @@ -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()