GTK UI search box grab_focus() on show.
This commit is contained in:
parent
b521b3065b
commit
f14de6553a
|
@ -201,6 +201,7 @@ class SearchBox(object):
|
|||
def show(self):
|
||||
self.visible = True
|
||||
self.search_box.show_all()
|
||||
self.search_torrents_entry.grab_focus()
|
||||
|
||||
def hide(self):
|
||||
self.visible = False
|
||||
|
|
Loading…
Reference in New Issue