mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-26 19:43:16 +02:00
Fix #1200826 [Matching a library book to device search default](https://bugs.launchpad.net/calibre/+bug/1200826) (patch taken from cbhaley)
This commit is contained in:
parent
3d122c8e7d
commit
2dec08b6fb
1 changed files with 2 additions and 0 deletions
|
|
@ -107,6 +107,8 @@ def __init__(self, gui, view, id_):
|
|||
self.buttonBox.rejected.connect(self.reject)
|
||||
self.ignore_next_key = False
|
||||
|
||||
self.search_text.setText(self.device_db[self.current_device_book_id].title)
|
||||
|
||||
def return_pressed(self):
|
||||
self.ignore_next_key = True
|
||||
self.do_search()
|
||||
|
|
|
|||
Loading…
Reference in a new issue