diff --git a/ChangeLog b/ChangeLog index a146bcb2e..f0715579c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,5 @@ 2003-07-28 Tim Waugh + * src/plugins/AncestorChart.py: Printable hook. * src/plugins/GraphViz.py: Adapt. * src/Report.py, src/TextDoc.py, src/DrawDoc.py, src/Plugins.py: More support for making printable output formats. diff --git a/src/plugins/AncestorChart.py b/src/plugins/AncestorChart.py index 25022406a..b4afc78e3 100644 --- a/src/plugins/AncestorChart.py +++ b/src/plugins/AncestorChart.py @@ -257,6 +257,8 @@ class AncestorChartDialog(Report.DrawReportDialog): MyReport = AncestorChart(self.db, self.person, self.target_path, self.max_gen, self.doc, self.report_text) MyReport.write_report() + if self.print_report.get_active (): + self.doc.print_report() except Errors.ReportError, msg: (m1,m2) = msg.messages() ErrorDialog(m1,m2)