mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
9e9d2db2d0
commit
bbc7535718
@ -384,7 +384,7 @@ class PDFWriter(QObject):
|
|||||||
elif col - 1 in sections:
|
elif col - 1 in sections:
|
||||||
# Ensure we are using the last section on the previous page as
|
# Ensure we are using the last section on the previous page as
|
||||||
# the section for this page, since this page has no sections
|
# the section for this page, since this page has no sections
|
||||||
self.current_section = sections[col][-1]
|
self.current_section = sections[col-1][-1]
|
||||||
self.doc.init_page()
|
self.doc.init_page()
|
||||||
if self.header or self.footer:
|
if self.header or self.footer:
|
||||||
evaljs('paged_display.update_header_footer(%d)'%self.current_page_num)
|
evaljs('paged_display.update_header_footer(%d)'%self.current_page_num)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user