From 107a58921211311429b2223bdb7cca6eb00a659d Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Thu, 15 Dec 2011 16:54:52 +0000 Subject: [PATCH] add bookname to report_options.xml svn: r18604 --- src/plugins/BookReport.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/BookReport.py b/src/plugins/BookReport.py index adfc7a62d..3b549f2ed 100644 --- a/src/plugins/BookReport.py +++ b/src/plugins/BookReport.py @@ -1088,6 +1088,7 @@ class BookReportSelector(ManagedWindow.ManagedWindow): if book: self.open_book(book) self.name_entry.set_text(book.get_name()) + self.book.name = book.get_name() def on_edit_clicked(self, obj): """ @@ -1193,6 +1194,7 @@ class BookReportDialog(DocReportDialog): DocReportDialog.__init__(self, dbstate, uistate, options, 'book', _("Book Report")) self.book = book + self.options.options_dict['bookname'] = self.book.name self.database = dbstate.db self.selected_style = StyleSheet()