mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-23 20:22:58 +03:00
Prepared pages loading has been fixed
This commit is contained in:
parent
ec4c3b4db4
commit
aadf643130
@ -133,7 +133,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc
|
|||||||
|
|
||||||
LIMEREPORT_VERSION_MAJOR = 1
|
LIMEREPORT_VERSION_MAJOR = 1
|
||||||
LIMEREPORT_VERSION_MINOR = 5
|
LIMEREPORT_VERSION_MINOR = 5
|
||||||
LIMEREPORT_VERSION_RELEASE = 56
|
LIMEREPORT_VERSION_RELEASE = 57
|
||||||
|
|
||||||
LIMEREPORT_VERSION = '$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}'
|
LIMEREPORT_VERSION = '$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}'
|
||||||
DEFINES *= LIMEREPORT_VERSION_STR=\\\"$${LIMEREPORT_VERSION}\\\"
|
DEFINES *= LIMEREPORT_VERSION_STR=\\\"$${LIMEREPORT_VERSION}\\\"
|
||||||
|
@ -60,6 +60,7 @@ void PreparedPages::clear()
|
|||||||
|
|
||||||
bool PreparedPages::readPages(ItemsReaderIntf::Ptr reader)
|
bool PreparedPages::readPages(ItemsReaderIntf::Ptr reader)
|
||||||
{
|
{
|
||||||
|
clear();
|
||||||
if (reader->first()){
|
if (reader->first()){
|
||||||
PageItemDesignIntf::Ptr page = PageItemDesignIntf::create(0);
|
PageItemDesignIntf::Ptr page = PageItemDesignIntf::create(0);
|
||||||
if (!reader->readItem(page.data()))
|
if (!reader->readItem(page.data()))
|
||||||
|
Loading…
Reference in New Issue
Block a user