Make sure not to crash character editor during SSO init when char editor is opened

This commit is contained in:
DarkPhoenix
2024-02-27 01:18:01 +06:00
parent 526695fa9a
commit b04c521805

View File

@@ -807,7 +807,12 @@ class APIView(wx.Panel):
self.SetSizer(pmainSizer)
self.Layout()
self.ssoListChanged(None)
try:
self.ssoListChanged(None)
except (KeyboardInterrupt, SystemExit):
raise
except:
pass
def ssoCharChanged(self, event):
sChar = Character.getInstance()