Prepared pages loading has been fixed

This commit is contained in:
Arin Alexander
2020-06-02 14:54:58 +03:00
parent ec4c3b4db4
commit aadf643130
2 changed files with 2 additions and 1 deletions

View File

@@ -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()))