From 578e659578923f4b2894079216d04fc4c549dfc0 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sat, 3 Dec 2005 04:44:42 +0000 Subject: [PATCH] * src/ReportOptions.py: fix inheritence svn: r5468 --- gramps2/ChangeLog | 3 +++ gramps2/src/ReportOptions.py | 8 +++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 54d18ab08..f58f82920 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2005-12-02 Don Allingham + * src/ReportOptions.py: fix inheritence + 2005-12-01 Don Allingham * various: pychecker fixes * src/DateParser.py: properly call the date checking routine diff --git a/gramps2/src/ReportOptions.py b/gramps2/src/ReportOptions.py index a062f3058..56764ced7 100644 --- a/gramps2/src/ReportOptions.py +++ b/gramps2/src/ReportOptions.py @@ -495,7 +495,13 @@ class ReportOptions(Options.Options): Initializes the class, performing usual house-keeping tasks. Subclasses MUST call this in their __init__() method. """ - Options.Options.__init__(self,name,person_id) + + self.set_new_options() + self.enable_options() + + if self.enable_dict: + self.options_dict.update(self.enable_dict) + self.handler = OptionHandler(name,self.options_dict,person_id) def make_default_style(self,default_style): """