5754: the book report's "edit" dialog should allow book selection
svn: r19621
This commit is contained in:
parent
3e482e9d39
commit
74813da8f0
@ -1097,6 +1097,11 @@ class BookReportSelector(ManagedWindow.ManagedWindow):
|
|||||||
self.book_list = BookList(self.file, self.db)
|
self.book_list = BookList(self.file, self.db)
|
||||||
booklistdisplay = BookListDisplay(self.book_list, 0, 1)
|
booklistdisplay = BookListDisplay(self.book_list, 0, 1)
|
||||||
booklistdisplay.top.destroy()
|
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())
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user