mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-11 02:48:39 +00:00
GTK UI search box grab_focus() on show.
This commit is contained in:
parent
b521b3065b
commit
f14de6553a
1 changed files with 1 additions and 0 deletions
|
@ -201,6 +201,7 @@ class SearchBox(object):
|
||||||
def show(self):
|
def show(self):
|
||||||
self.visible = True
|
self.visible = True
|
||||||
self.search_box.show_all()
|
self.search_box.show_all()
|
||||||
|
self.search_torrents_entry.grab_focus()
|
||||||
|
|
||||||
def hide(self):
|
def hide(self):
|
||||||
self.visible = False
|
self.visible = False
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue