diff --git a/gramps/plugins/drawreport/descendtree.py b/gramps/plugins/drawreport/descendtree.py index 7f90d59a3..1f7ab5aef 100644 --- a/gramps/plugins/drawreport/descendtree.py +++ b/gramps/plugins/drawreport/descendtree.py @@ -1271,12 +1271,15 @@ class DescendTree(Report): database - the GRAMPS database instance options - instance of the Options class for this report user - a gen.user.User() instance + + incl_private - Whether to include private data """ Report.__init__(self, database, options, user) self.options = options - self.database = database + stdoptions.run_private_data_option(self, options.menu) + lang = options.menu.get_option_by_name('trans').get_value() self._locale = self.set_locale(lang) @@ -1518,6 +1521,8 @@ class DescendTreeOptions(MenuReportOptions): "resulting in a smaller tree")) menu.add_option(category_name, "compress_tree", compresst) + stdoptions.add_private_data_option(menu, category_name) + stdoptions.add_localization_option(menu, category_name) ##################