5754: the book report's "edit" dialog should allow book selection

svn: r19621
This commit is contained in:
Paul Franklin 2012-05-22 15:35:25 +00:00
parent 3e482e9d39
commit 74813da8f0

View File

@ -1097,6 +1097,11 @@ class BookReportSelector(ManagedWindow.ManagedWindow):
self.book_list = BookList(self.file, self.db)
booklistdisplay = BookListDisplay(self.book_list, 0, 1)
booklistdisplay.top.destroy()
book = booklistdisplay.selection
if book:
self.open_book(book)
self.name_entry.set_text(book.get_name())
self.book.set_name(book.get_name())
#------------------------------------------------------------------------
#