0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-26 01:24:39 +03:00

#IS_FIRST_PAGEFOOTER has been fixed

This commit is contained in:
Arin Alexander 2017-07-24 22:44:24 +03:00
parent a154ae5587
commit 987b44e562

View File

@ -1233,9 +1233,8 @@ void ReportRender::moveTearOffBand(){
void ReportRender::savePage(bool isLast) void ReportRender::savePage(bool isLast)
{ {
m_datasources->setReportVariable("#IS_LAST_PAGEFOOTER",isLast); m_datasources->setReportVariable("#IS_LAST_PAGEFOOTER",isLast);
m_datasources->setReportVariable("#IS_FISRT_PAGEFOOTER",m_datasources->variable("#PAGE").toInt()==1); m_datasources->setReportVariable("#IS_FIRST_PAGEFOOTER",m_datasources->variable("#PAGE").toInt()==1);
renderPageItems(m_patternPageItem); renderPageItems(m_patternPageItem);
checkFooterGroup(m_lastDataBand); checkFooterGroup(m_lastDataBand);