6998: Descendant Tree Report crashes gramps 4.0.2 svn 22863M

svn: r22869
This commit is contained in:
Paul Franklin 2013-08-14 22:44:09 +00:00
parent c94c8c0b84
commit 8d9f6558e5

View File

@ -489,7 +489,7 @@ class Canvas(Page):
if len(x_page_offsets) > 1:
if self.title.mark_text and not self.title.text:
self.title.width = self.doc.get_usable_width()
self.__pages[self.__pages.keys()[0]].add_box(self.title)
self.__pages[list(self.__pages.keys())[0]].add_box(self.title)
return
title_list = self.title.text.split(" ")
title_font = self.__get_font(self.title)