0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-09-23 08:29:07 +03:00

setPageItems method has been fixed

This commit is contained in:
Arin Alexander
2019-09-23 14:20:00 +03:00
parent 8b08fca19c
commit 076576ce88
2 changed files with 2 additions and 1 deletions

View File

@@ -278,6 +278,7 @@ void PageDesignIntf::setPageItem(PageItemDesignIntf::Ptr pageItem)
void PageDesignIntf::setPageItems(QList<PageItemDesignIntf::Ptr> pages)
{
m_currentPage = 0;
if (!m_pageItem.isNull()) {
removeItem(m_pageItem.data());
m_pageItem.clear();