diff --git a/wxPython/wxPython/py/editor.py b/wxPython/wxPython/py/editor.py index 78ff5e235c..f590eeca20 100644 --- a/wxPython/wxPython/py/editor.py +++ b/wxPython/wxPython/py/editor.py @@ -258,6 +258,7 @@ class EditorNotebookFrame(EditorFrame): self.crust.filling.SetSashPosition(200) self.notebook.AddPage(page=self.crust, text='PyCrust', select=True) self.setEditor(self.crust.editor) + self.crust.editor.SetFocus() def _editorChange(self, editor): """Editor change signal receiver."""