diff --git a/gui/characterEditor.py b/gui/characterEditor.py index 0cebb5101..e85c00212 100644 --- a/gui/characterEditor.py +++ b/gui/characterEditor.py @@ -37,6 +37,8 @@ class CharacterEditor(wx.Frame): i = wx.IconFromBitmap(BitmapLoader.getBitmap("character_small", "gui")) self.SetIcon(i) + self.mainFrame = parent + self.disableWin= wx.WindowDisabler(self) self.SetSizeHintsSz(wx.Size(640, 600), wx.DefaultSize) self.SetBackgroundColour( wx.SystemSettings.GetColour( wx.SYS_COLOUR_BTNFACE ) )