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:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user