def EditProject(self, project): editor = Panels.ProjectEditor(self, project) editor.ShowModal() editor.Destroy()