MainFrame pointer was accidentally deleted from characterEditor.py, causing issues.
This commit is contained in:
@@ -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 ) )
|
||||
|
||||
Reference in New Issue
Block a user