diff --git a/ChangeLog b/ChangeLog index a937a1629..4d857e117 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-07-11 Tim Waugh + * src/plugins/SimpleBookTitle.py: Define self.style_name before + calling Report.BareReportDialog.__init__(). + 2003-07-10 Alex Roitman * src/GrampsCfg.py (GrampsPreferences.select): Conditional get_path(). * src/Plugins.py (PluginDialog.on_node_selected): Likewise. diff --git a/src/plugins/SimpleBookTitle.py b/src/plugins/SimpleBookTitle.py index 199ada639..40ad26d8c 100644 --- a/src/plugins/SimpleBookTitle.py +++ b/src/plugins/SimpleBookTitle.py @@ -137,6 +137,8 @@ class SimpleBookTitleDialog(Report.BareReportDialog): self.person = self.db.getPerson(self.options[0]) else: self.person = person + + self.style_name = stl Report.BareReportDialog.__init__(self,database,self.person) if self.options[1]: @@ -155,7 +157,6 @@ class SimpleBookTitleDialog(Report.BareReportDialog): self.title_entry.set_text(self.title_string) self.copyright_entry.set_text(self.copyright_string) - self.style_name = stl self.new_person = None self.window.run()