6769: gramps crash for ancestor chart report

svn: r22421
This commit is contained in:
Paul Franklin 2013-05-26 18:39:50 +00:00
parent 546881c640
commit 9e38800c97

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[0, 0].add_box(self.title)
self.__pages[self.__pages.keys()[0]].add_box(self.title)
return
title_list = self.title.text.split(" ")
title_font = self.__get_font(self.title)