generated from itdominator/Python-With-Gtk-Template
Fixed focus on initial load/start
This commit is contained in:
parent
3088aa8c44
commit
352534dd17
|
@ -43,7 +43,9 @@ class EditorNotebook(EditorEventsMixin, EditorControllerMixin, Gtk.Notebook):
|
||||||
|
|
||||||
self.show_all()
|
self.show_all()
|
||||||
|
|
||||||
print(self.NAME)
|
if self.NAME == "notebook_1":
|
||||||
|
self.is_editor_focused = True
|
||||||
|
|
||||||
if self.NAME == "notebook_2":
|
if self.NAME == "notebook_2":
|
||||||
self.hide()
|
self.hide()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue