From 642b6732c7170372d75029838a0a3774122b37e8 Mon Sep 17 00:00:00 2001 From: Charles Haley Date: Sat, 13 Jul 2013 11:38:23 +0200 Subject: [PATCH] [Bug 1200826] [NEW] Matching a library book to device search default --- 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()