From 076576ce883888cc237718857a7fdfccf34ce074 Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Mon, 23 Sep 2019 14:20:00 +0300 Subject: [PATCH] setPageItems method has been fixed --- common.pri | 2 +- limereport/lrpagedesignintf.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common.pri b/common.pri index fa50060..7913e8e 100644 --- a/common.pri +++ b/common.pri @@ -127,7 +127,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc LIMEREPORT_VERSION_MAJOR = 1 LIMEREPORT_VERSION_MINOR = 5 -LIMEREPORT_VERSION_RELEASE = 12 +LIMEREPORT_VERSION_RELEASE = 13 LIMEREPORT_VERSION = '$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}' DEFINES *= LIMEREPORT_VERSION_STR=\\\"$${LIMEREPORT_VERSION}\\\" diff --git a/limereport/lrpagedesignintf.cpp b/limereport/lrpagedesignintf.cpp index 3e0ad34..52c1e4d 100644 --- a/limereport/lrpagedesignintf.cpp +++ b/limereport/lrpagedesignintf.cpp @@ -278,6 +278,7 @@ void PageDesignIntf::setPageItem(PageItemDesignIntf::Ptr pageItem) void PageDesignIntf::setPageItems(QList pages) { + m_currentPage = 0; if (!m_pageItem.isNull()) { removeItem(m_pageItem.data()); m_pageItem.clear();