Fixed focus on initial load/start

This commit is contained in:
itdominator 2023-04-02 20:46:50 -05:00
parent 3088aa8c44
commit 352534dd17
1 changed files with 3 additions and 1 deletions

View File

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