0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-07 00:21:24 +03:00

Ruler has been fixed

This commit is contained in:
Arin Alexander
2019-06-27 10:45:26 +03:00
parent ac154dbc03
commit 69369e3b0c
14 changed files with 14 additions and 24 deletions

View File

@@ -901,7 +901,7 @@ void ReportRender::closeGroup(BandDesignIntf *band)
bl->clear();
delete bl;
}
it++;
++it;
}
m_childBands.remove(band);
@@ -931,7 +931,7 @@ void ReportRender::closeDataGroup(BandDesignIntf *band)
if ((*it)->bandIndex()>band->bandIndex())
it = m_reprintableBands.erase(it);
else
it++;
++it;
}
}
recalcIfNeeded(band);
@@ -1573,7 +1573,7 @@ void PagesRanges::addTOCPage()
if (tocRange.firstPage == 0) {
tocRange.firstPage = tocRange.lastPage == 0 ? 1 : tocRange.lastPage;
tocRange.lastPage = tocRange.lastPage == 0 ? 1 : tocRange.lastPage;
if (tocRange.lastPage == 1 && tocRange.lastPage == 1)
if (tocRange.firstPage == 1 && tocRange.lastPage == 1)
shiftRangesNextToTOC();
} else {
tocRange.lastPage++;