From 4136d22509fa1f2f590f88bd70d0faebc7538d52 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Thu, 31 Mar 2016 12:08:42 -0700 Subject: [PATCH] add "living people" option to Descendant Tree report --- gramps/plugins/drawreport/descendtree.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gramps/plugins/drawreport/descendtree.py b/gramps/plugins/drawreport/descendtree.py index 93f9f0867..ef9ab38ee 100644 --- a/gramps/plugins/drawreport/descendtree.py +++ b/gramps/plugins/drawreport/descendtree.py @@ -1275,12 +1275,15 @@ class DescendTree(Report): user - a gen.user.User() instance incl_private - Whether to include private data + living_people - How to handle living people + years_past_death - Consider as living this many years after death """ Report.__init__(self, database, options, user) self.options = options stdoptions.run_private_data_option(self, options.menu) + stdoptions.run_living_people_option(self, options.menu) lang = options.menu.get_option_by_name('trans').get_value() self._locale = self.set_locale(lang) @@ -1507,6 +1510,8 @@ class DescendTreeOptions(MenuReportOptions): stdoptions.add_private_data_option(menu, category_name) + stdoptions.add_living_people_option(menu, category_name) + self.showparents = BooleanOption( _('Start with the parent(s) of the selected first'), False)