mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
focus text_view on LyricsWindow open
This commit is contained in:
parent
63ebb16545
commit
0596e3405a
@ -3156,6 +3156,7 @@ class LyricsWindow(Gtk.Overlay):
|
|||||||
|
|
||||||
self.show_all()
|
self.show_all()
|
||||||
self.refresh()
|
self.refresh()
|
||||||
|
GLib.idle_add(self.text_view.grab_focus) # focus textview
|
||||||
|
|
||||||
def remove_handlers(self, *args):
|
def remove_handlers(self, *args):
|
||||||
self.client.emitter.disconnect(self.file_changed)
|
self.client.emitter.disconnect(self.file_changed)
|
||||||
|
Loading…
Reference in New Issue
Block a user