From 31e5815ea45df510e4a11990bcdfaf9e075740af Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Wed, 14 Aug 2013 22:43:47 +0000 Subject: [PATCH] 6998: Descendant Tree Report crashes gramps 4.0.2 svn 22863M svn: r22868 --- gramps/plugins/lib/libtreebase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/lib/libtreebase.py b/gramps/plugins/lib/libtreebase.py index 52877f43b..c6ab88af0 100644 --- a/gramps/plugins/lib/libtreebase.py +++ b/gramps/plugins/lib/libtreebase.py @@ -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)