From 9b9805c262d7248ceca47f6e715fb54d680e8546 Mon Sep 17 00:00:00 2001 From: "Craig J. Anderson" Date: Thu, 3 May 2012 14:00:53 +0000 Subject: [PATCH] Fixed a crash when using the book report, adding the descendant_chart. A 'Family chart' option is availible which is incorrect. If selected, will result in a fatal crash. svn: r19430 --- src/plugins/drawreport/DescendTree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/drawreport/DescendTree.py b/src/plugins/drawreport/DescendTree.py index c08a87ff5..cd28c0de1 100644 --- a/src/plugins/drawreport/DescendTree.py +++ b/src/plugins/drawreport/DescendTree.py @@ -1631,7 +1631,7 @@ class DescendTreeOptions(MenuReportOptions): [0, _("Do not include a title") ], [1, _("Descendant Chart for [selected person(s)]") ], ] - if self.name != _RPT_NAME: + if self.name.split(",")[0] != _RPT_NAME: item_list.append( [2, _("Family Chart for [names of chosen family]") ] )