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:
Kovid Goyal 2013-07-13 15:25:10 +05:30
parent 3d122c8e7d
commit 2dec08b6fb

View File

@ -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()