0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 08:34:38 +03:00

Finished pages count fixed

This commit is contained in:
Arin Alex 2016-04-07 18:57:27 +03:00
parent 225ee41289
commit ed926de523

View File

@ -970,12 +970,12 @@ void ReportRender::savePage()
}
m_ranges.last().lastPage = m_pageCount;
m_pageCount++;
BandDesignIntf* pageFooter = m_renderPageItem->bandByType(BandDesignIntf::PageFooter);
if (pageFooter) pageFooter->setBandIndex(++m_currentIndex);
m_renderedPages.append(PageItemDesignIntf::Ptr(m_renderPageItem));
emit pageRendered(m_pageCount);
m_pageCount++;
}
QString ReportRender::toString()