9789: Book Report only works with the default values (master "4ffc5e3")

This commit is contained in:
Paul Franklin 2016-11-21 13:09:57 -08:00
parent 882c37afc1
commit 5932addfb5

View File

@ -183,8 +183,9 @@ class Book:
self.item_list = obj.item_list
else:
for item in obj.get_item_list():
self.item_list.append(BookItem(item.dbase,
item.get_name()))
regenerated_item = BookItem(item.dbase, item.get_name())
regenerated_item.set_style_name(item.get_style_name())
self.item_list.append(regenerated_item)
def set_name(self, name):
"""