mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-25 00:54:39 +03:00
Merge remote-tracking branch 'origin/feature/TOC-Refactoring' into feature/TOC-Refactoring
This commit is contained in:
commit
6a1a8de8ae
@ -1527,7 +1527,7 @@ void PagesRanges::addTOCPage()
|
|||||||
if (tocRange.firstPage == 0) {
|
if (tocRange.firstPage == 0) {
|
||||||
tocRange.firstPage = tocRange.lastPage == 0 ? 1 : tocRange.lastPage;
|
tocRange.firstPage = tocRange.lastPage == 0 ? 1 : tocRange.lastPage;
|
||||||
tocRange.lastPage = tocRange.lastPage == 0 ? 1 : tocRange.lastPage;
|
tocRange.lastPage = tocRange.lastPage == 0 ? 1 : tocRange.lastPage;
|
||||||
if (tocRange.lastPage == 1 and tocRange.lastPage == 1)
|
if (tocRange.lastPage == 1 && tocRange.lastPage == 1)
|
||||||
shiftRangesNextToTOC();
|
shiftRangesNextToTOC();
|
||||||
} else {
|
} else {
|
||||||
tocRange.lastPage++;
|
tocRange.lastPage++;
|
||||||
|
Loading…
Reference in New Issue
Block a user