From 88cf2f9227369a36f609d2b05bf7c8cb0352f7fb Mon Sep 17 00:00:00 2001 From: Eero Tamminen Date: Wed, 16 Feb 2005 21:02:39 +0000 Subject: [PATCH] get option value from correct field svn: r4039 --- gramps2/ChangeLog | 4 ++++ gramps2/src/plugins/GraphViz.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index fe5911644..69fb321ba 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2005-02-16 Eero Tamminen + * src/plugins/GraphViz.py: 'pagesv' value comes from 'vpages' + field, not 'hpages' + 2005-02-16 Don Allingham * src/DisplayModels.py: don't override on_row_deleted diff --git a/gramps2/src/plugins/GraphViz.py b/gramps2/src/plugins/GraphViz.py index d771a3639..b7f3ff1aa 100644 --- a/gramps2/src/plugins/GraphViz.py +++ b/gramps2/src/plugins/GraphViz.py @@ -726,7 +726,7 @@ class GraphVizOptions(ReportOptions.ReportOptions): self.options_dict['marglr'] = self.lr_margin_sb.get_value() self.options_dict['dashedl'] = int(self.adoptionsdashed_cb.get_active()) self.options_dict['pagesh'] = self.hpages_sb.get_value_as_int() - self.options_dict['pagesv'] = self.hpages_sb.get_value_as_int() + self.options_dict['pagesv'] = self.vpages_sb.get_value_as_int() self.options_dict['showfamily'] = int(self.show_families_cb.get_active()) self.options_dict['incid'] = int(self.includeid_cb.get_active()) self.options_dict['placecause'] = int(self.place_cause_cb.get_active())