5755: some report "custom paper" sizes are saved incorrectly
svn: r19622
This commit is contained in:
parent
fa901ca5a5
commit
741467ef33
@ -434,7 +434,7 @@ class OptionListCollection(_options.OptionListCollection):
|
|||||||
f.write(' <metric value="%d"/>\n' %
|
f.write(' <metric value="%d"/>\n' %
|
||||||
option_list.get_paper_metric() )
|
option_list.get_paper_metric() )
|
||||||
if option_list.get_custom_paper_size():
|
if option_list.get_custom_paper_size():
|
||||||
size = self.get_last_custom_paper_size()
|
size = option_list.get_custom_paper_size()
|
||||||
f.write(' <size value="%f %f"/>\n' % (size[0], size[1]) )
|
f.write(' <size value="%f %f"/>\n' % (size[0], size[1]) )
|
||||||
if option_list.get_margins():
|
if option_list.get_margins():
|
||||||
margins = option_list.get_margins()
|
margins = option_list.get_margins()
|
||||||
|
Loading…
Reference in New Issue
Block a user