diff --git a/src/core/widgets/base/notebook/editor_notebook.py b/src/core/widgets/base/notebook/editor_notebook.py index 5bc2923..6a66927 100644 --- a/src/core/widgets/base/notebook/editor_notebook.py +++ b/src/core/widgets/base/notebook/editor_notebook.py @@ -43,7 +43,9 @@ class EditorNotebook(EditorEventsMixin, EditorControllerMixin, Gtk.Notebook): self.show_all() - print(self.NAME) + if self.NAME == "notebook_1": + self.is_editor_focused = True + if self.NAME == "notebook_2": self.hide()