From a045c4fd0c4cbd93b398814f3c490e765658eb76 Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Mon, 11 Mar 2019 23:01:32 +0300 Subject: [PATCH] PageDesignIntf has been fixed --- limereport/lrpagedesignintf.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/limereport/lrpagedesignintf.cpp b/limereport/lrpagedesignintf.cpp index 8d87789..46fe876 100644 --- a/limereport/lrpagedesignintf.cpp +++ b/limereport/lrpagedesignintf.cpp @@ -291,6 +291,8 @@ void PageDesignIntf::setPageItems(QList pages) if (curWidthwidth()) curWidth=pageItem->width(); } setSceneRect(QRectF(0,0,curWidth,curHeight).adjusted(-10*Const::mmFACTOR,-10*Const::mmFACTOR,10*Const::mmFACTOR,10*Const::mmFACTOR)); + if (m_reportPages.count()>0) + m_currentPage = m_reportPages.at(0).data(); }