Translation has been fixed

This commit is contained in:
Arin Alex 2018-08-23 00:49:38 +03:00
parent de9ae129a9
commit 3c22c63600

View File

@ -69,7 +69,7 @@ PageTranslation* ReportTranslation::findPageTranslation(const QString& page_name
void ReportTranslation::updatePageTranslation(PageDesignIntf* page)
{
PageTranslation* pageTranslation = findPageTranslation(page->objectName());
PageTranslation* pageTranslation = findPageTranslation(page->pageItem()->objectName());
if (!pageTranslation){
pageTranslation = createPageTranslation(page);
m_pagesTranslation.append(pageTranslation);