mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-22 05:56:19 +01:00
Remove sanity checking for Toc entries as it conflicts with page-break:avoid code
This commit is contained in:
parent
ad339ea8f5
commit
f790f21133
1 changed files with 1 additions and 1 deletions
|
|
@ -743,7 +743,7 @@ def addTocEntry(self, tocLabel, textBlock):
|
|||
if textBlock.parent is None:
|
||||
raise LrsError, "TOC text block must be already appended to a page"
|
||||
|
||||
if textBlock.parent.parent is None:
|
||||
if False and textBlock.parent.parent is None:
|
||||
raise LrsError, \
|
||||
"TOC destination page must be already appended to a book"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue