diff --git a/src/plugins/FamilyGroup.py b/src/plugins/FamilyGroup.py index 153952ff3..b00cbdf22 100644 --- a/src/plugins/FamilyGroup.py +++ b/src/plugins/FamilyGroup.py @@ -349,8 +349,11 @@ class FamilyGroup: # #------------------------------------------------------------------------ class FamilyGroupDialog(Report.TextReportDialog): + + report_options = {} + def __init__(self,database,person): - Report.TextReportDialog.__init__(self,database,person) + Report.TextReportDialog.__init__(self,database,person,self.report_options) def get_title(self): """The window title for this dialog""" diff --git a/src/plugins/FanChart.py b/src/plugins/FanChart.py index db5b0e1db..61e699a3b 100644 --- a/src/plugins/FanChart.py +++ b/src/plugins/FanChart.py @@ -299,9 +299,11 @@ def _make_default_style(default_style): # #------------------------------------------------------------------------ class FanChartDialog(Report.DrawReportDialog): + + report_options = {} def __init__(self,database,person): - Report.DrawReportDialog.__init__(self,database,person) + Report.DrawReportDialog.__init__(self,database,person,self.report_options) def get_title(self): """The window title for this dialog""" @@ -381,9 +383,7 @@ class FanChartBareDialog(Report.BareReportDialog): self.style_name = stl Report.BareReportDialog.__init__(self,database,self.person) - self.new_person = None - self.window.run() #------------------------------------------------------------------------