clearing sceneGraphUI panel after File->New

This commit is contained in:
Arkady Trestman 2009-11-11 21:10:43 +00:00
parent 89749f91a6
commit 447684ec4e

View File

@ -149,6 +149,7 @@ class LevelEditorUI(WxAppShell):
def onNew(self, evt):
self.editor.reset()
self.sceneGraphUI.reset()
def onLoad(self, evt):
dialog = wx.FileDialog(None, "Choose a file", os.getcwd(), "", "*.py", wx.OPEN)