0001253: Calendar report crashes without margins entered.
svn: r9048
This commit is contained in:
parent
e9921d1737
commit
d05b0e142e
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user