From aadf6431307e60ad249766ce4adafe9baad7d765 Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Tue, 2 Jun 2020 14:54:58 +0300 Subject: [PATCH] Prepared pages loading has been fixed --- common.pri | 2 +- limereport/lrpreparedpages.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common.pri b/common.pri index f4c3afb..465a8e1 100644 --- a/common.pri +++ b/common.pri @@ -133,7 +133,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc LIMEREPORT_VERSION_MAJOR = 1 LIMEREPORT_VERSION_MINOR = 5 -LIMEREPORT_VERSION_RELEASE = 56 +LIMEREPORT_VERSION_RELEASE = 57 LIMEREPORT_VERSION = '$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}' DEFINES *= LIMEREPORT_VERSION_STR=\\\"$${LIMEREPORT_VERSION}\\\" diff --git a/limereport/lrpreparedpages.cpp b/limereport/lrpreparedpages.cpp index 2cc7a1b..5408d70 100644 --- a/limereport/lrpreparedpages.cpp +++ b/limereport/lrpreparedpages.cpp @@ -60,6 +60,7 @@ void PreparedPages::clear() bool PreparedPages::readPages(ItemsReaderIntf::Ptr reader) { + clear(); if (reader->first()){ PageItemDesignIntf::Ptr page = PageItemDesignIntf::create(0); if (!reader->readItem(page.data()))