[Bug 1200826] [NEW] Matching a library book to device search default

This commit is contained in:
Charles Haley 2013-07-13 11:38:23 +02:00
parent 090eed4153
commit 642b6732c7

View File

@ -107,6 +107,8 @@ class MatchBooks(QDialog, Ui_MatchBooks):
self.buttonBox.rejected.connect(self.reject) self.buttonBox.rejected.connect(self.reject)
self.ignore_next_key = False self.ignore_next_key = False
self.search_text.setText(self.device_db[self.current_device_book_id].title)
def return_pressed(self): def return_pressed(self):
self.ignore_next_key = True self.ignore_next_key = True
self.do_search() self.do_search()