Fix 0001431: Tried to run a statistics report:
svn: r9600
This commit is contained in:
parent
3708d4f73f
commit
88ff3ab413
@ -1,3 +1,6 @@
|
|||||||
|
2007-12-27 Brian Matherly <brian@gramps-project.org>
|
||||||
|
* src/docgen/CairoDoc.py: Fix 0001431: Tried to run a statistics report:
|
||||||
|
|
||||||
2007-12-27 Brian Matherly <brian@gramps-project.org>
|
2007-12-27 Brian Matherly <brian@gramps-project.org>
|
||||||
* src/plugins/DescendReport.py:
|
* src/plugins/DescendReport.py:
|
||||||
* src/plugins/AncestorReport.py:
|
* src/plugins/AncestorReport.py:
|
||||||
|
@ -1212,6 +1212,7 @@ class CairoDoc(BaseDoc.BaseDoc, BaseDoc.TextDoc, BaseDoc.DrawDoc):
|
|||||||
|
|
||||||
# ...the text separately
|
# ...the text separately
|
||||||
paragraph_style_name = style.get_paragraph_style()
|
paragraph_style_name = style.get_paragraph_style()
|
||||||
|
if paragraph_style_name:
|
||||||
paragraph_style = style_sheet.get_paragraph_style(paragraph_style_name)
|
paragraph_style = style_sheet.get_paragraph_style(paragraph_style_name)
|
||||||
paragraph_style.set_alignment(BaseDoc.PARA_ALIGN_LEFT)
|
paragraph_style.set_alignment(BaseDoc.PARA_ALIGN_LEFT)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user