mirror of
https://github.com/fralx/LimeReport.git
synced 2025-11-25 00:18:06 +03:00
Pages are cloned before generation to prevent them from changing by init script
This commit is contained in:
@@ -32,7 +32,7 @@ ReportTranslation::~ReportTranslation()
|
||||
PageTranslation* ReportTranslation::createPageTranslation(PageDesignIntf* page)
|
||||
{
|
||||
PageTranslation* pageTranslation = new PageTranslation;
|
||||
pageTranslation->pageName = page->objectName();
|
||||
pageTranslation->pageName = page->pageItem()->objectName();
|
||||
foreach(BaseDesignIntf* item, page->pageItem()->allChildBaseItems()){
|
||||
createItemTranslation(item, pageTranslation);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user