From ed926de523926b31740d41890283164e47697088 Mon Sep 17 00:00:00 2001 From: Arin Alex Date: Thu, 7 Apr 2016 18:57:27 +0300 Subject: [PATCH] Finished pages count fixed --- limereport/lrreportrender.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/limereport/lrreportrender.cpp b/limereport/lrreportrender.cpp index 185c431..7907cec 100644 --- a/limereport/lrreportrender.cpp +++ b/limereport/lrreportrender.cpp @@ -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()