fixed a crash when you add the descendant_chart to a book report. In
the 'include' tab, you can select a 'family chart' option for the title which should not be there. When ran it will crash. svn: r19431
This commit is contained in:
parent
04275cee6a
commit
8c4af875fb
@ -1632,7 +1632,7 @@ class DescendTreeOptions(MenuReportOptions):
|
|||||||
[0, _("Do not include a title") ],
|
[0, _("Do not include a title") ],
|
||||||
[1, _("Descendant Chart for [selected person(s)]") ],
|
[1, _("Descendant Chart for [selected person(s)]") ],
|
||||||
]
|
]
|
||||||
if self.name != _RPT_NAME:
|
if self.name.split(",")[0] != _RPT_NAME:
|
||||||
item_list.append(
|
item_list.append(
|
||||||
[2, _("Family Chart for [names of chosen family]") ]
|
[2, _("Family Chart for [names of chosen family]") ]
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user