mirror of
https://github.com/fralx/LimeReport.git
synced 2025-03-31 06:33:43 +03:00
Translation has been fixed
This commit is contained in:
parent
de9ae129a9
commit
3c22c63600
@ -69,7 +69,7 @@ PageTranslation* ReportTranslation::findPageTranslation(const QString& page_name
|
|||||||
|
|
||||||
void ReportTranslation::updatePageTranslation(PageDesignIntf* page)
|
void ReportTranslation::updatePageTranslation(PageDesignIntf* page)
|
||||||
{
|
{
|
||||||
PageTranslation* pageTranslation = findPageTranslation(page->objectName());
|
PageTranslation* pageTranslation = findPageTranslation(page->pageItem()->objectName());
|
||||||
if (!pageTranslation){
|
if (!pageTranslation){
|
||||||
pageTranslation = createPageTranslation(page);
|
pageTranslation = createPageTranslation(page);
|
||||||
m_pagesTranslation.append(pageTranslation);
|
m_pagesTranslation.append(pageTranslation);
|
||||||
|
Loading…
Reference in New Issue
Block a user