From 9da5862816af9ac28ea7082c782664fe39339cca Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Mon, 24 Dec 2007 04:41:11 +0000 Subject: [PATCH] 0001480: custom paper size is not editable for 2nd and any additional invocations of the report svn: r9570 --- ChangeLog | 4 ++++ src/ReportBase/_PaperMenu.py | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index ee8358704..e0e0dc1fb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-12-23 Brian Matherly + * src/ReportBase/_PaperMenu.py: 0001480: custom paper size is not editable + for 2nd and any additional invocations of the report + 2007-12-23 Brian Matherly * src/ReportBase/_Bibliography.py: Fix 0001393: Detailed descendant report crash on too many references. diff --git a/src/ReportBase/_PaperMenu.py b/src/ReportBase/_PaperMenu.py index eca3be4a6..b98045077 100644 --- a/src/ReportBase/_PaperMenu.py +++ b/src/ReportBase/_PaperMenu.py @@ -186,6 +186,8 @@ class PaperFrame(gtk.HBox): self.paper_table.show_all() self.add(self.paper_table) + self.size_changed(None) + def size_changed(self, obj): """Paper size combobox 'changed' callback.""" size, name = self.get_paper_size()