MainFrame pointer was accidentally deleted from characterEditor.py, causing issues.

This commit is contained in:
blitzmann
2015-11-03 19:21:45 -05:00
parent fc84c5dc94
commit 09e0a0576c

View File

@@ -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 ) )