mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-25 00:54:39 +03:00
Finished pages count fixed
This commit is contained in:
parent
225ee41289
commit
ed926de523
@ -970,12 +970,12 @@ void ReportRender::savePage()
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_ranges.last().lastPage = m_pageCount;
|
m_ranges.last().lastPage = m_pageCount;
|
||||||
m_pageCount++;
|
|
||||||
|
|
||||||
BandDesignIntf* pageFooter = m_renderPageItem->bandByType(BandDesignIntf::PageFooter);
|
BandDesignIntf* pageFooter = m_renderPageItem->bandByType(BandDesignIntf::PageFooter);
|
||||||
if (pageFooter) pageFooter->setBandIndex(++m_currentIndex);
|
if (pageFooter) pageFooter->setBandIndex(++m_currentIndex);
|
||||||
m_renderedPages.append(PageItemDesignIntf::Ptr(m_renderPageItem));
|
m_renderedPages.append(PageItemDesignIntf::Ptr(m_renderPageItem));
|
||||||
emit pageRendered(m_pageCount);
|
emit pageRendered(m_pageCount);
|
||||||
|
m_pageCount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
QString ReportRender::toString()
|
QString ReportRender::toString()
|
||||||
|
Loading…
Reference in New Issue
Block a user