6769: gramps crash for ancestor chart report

svn: r22422
This commit is contained in:
Paul Franklin 2013-05-26 18:40:09 +00:00
parent 2b5d7efdce
commit 3d9559cfae

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)