From 2dec08b6fbb0f4330bf408d237bd37f25da3707a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 13 Jul 2013 15:25:10 +0530 Subject: [PATCH] Fix #1200826 [Matching a library book to device search default](https://bugs.launchpad.net/calibre/+bug/1200826) (patch taken from cbhaley) --- src/calibre/gui2/dialogs/match_books.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calibre/gui2/dialogs/match_books.py b/src/calibre/gui2/dialogs/match_books.py index 6914c8bb84..6ac7aa533c 100644 --- a/src/calibre/gui2/dialogs/match_books.py +++ b/src/calibre/gui2/dialogs/match_books.py @@ -107,6 +107,8 @@ class MatchBooks(QDialog, Ui_MatchBooks): 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()