0001253: Calendar report crashes without margins entered.

svn: r9048
This commit is contained in:
Brian Matherly 2007-10-01 02:24:36 +00:00
parent e9921d1737
commit d05b0e142e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-09-30 Brian Matherly <brian@gramps-project.org>
* src/ReportBase/_ReportDialog.py: 0001253: Calendar report crashes without
margins entered.
2007-09-30 Stephane Charette <stephanecharette@gmail.com>
* src/data/main*.css: fix IE7 display problem when viewing Narrative
Web gallery images (gramps bug report #0001266)

View File

@ -585,7 +585,7 @@ class ReportDialog(BareReportDialog):
paper_margins[i] = paper_margins[i] * self.paper_unit_multiplier
paper_margins[i] = max(paper_margins[i], 0)
except:
self.paper_margins[i] = 2.54
paper_margins[i] = 2.54
return paper_margins