mirror of
https://github.com/fralx/LimeReport.git
synced 2025-01-11 17:18:10 +03:00
PageDesignIntf has been fixed
This commit is contained in:
parent
ee77ad5e5f
commit
a045c4fd0c
@ -291,6 +291,8 @@ void PageDesignIntf::setPageItems(QList<PageItemDesignIntf::Ptr> pages)
|
|||||||
if (curWidth<pageItem->width()) curWidth=pageItem->width();
|
if (curWidth<pageItem->width()) curWidth=pageItem->width();
|
||||||
}
|
}
|
||||||
setSceneRect(QRectF(0,0,curWidth,curHeight).adjusted(-10*Const::mmFACTOR,-10*Const::mmFACTOR,10*Const::mmFACTOR,10*Const::mmFACTOR));
|
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();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user