Fix 0001656: New menu item

svn: r9940
This commit is contained in:
Brian Matherly 2008-01-28 04:37:19 +00:00
parent 8731e42173
commit 212cb34365
2 changed files with 27 additions and 23 deletions

View File

@ -1,3 +1,6 @@
2008-01-27 Brian Matherly <brian@gramps-project.org>
* src/ReportBase/_GraphvizReportDialog.py: Fix 0001656: New menu item
2008-01-26 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/ExportCSV.py:
* src/plugins/ImportCSV.py:

View File

@ -709,7 +709,8 @@ class GraphvizReportDialog(ReportDialog):
def init_options(self, option_class):
if type(option_class) == ClassType:
self.options = option_class(self.raw_name,self.dbstate)
self.options = option_class(self.raw_name,
self.dbstate.get_database())
elif type(option_class) == InstanceType:
self.options = option_class