From 0a0e1504fa5b0711ef78d70e3081c3c0d1d87920 Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Mon, 18 Feb 2019 18:31:32 +0300 Subject: [PATCH] Script object naming has been fixed --- limereport/lrscriptenginemanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/limereport/lrscriptenginemanager.cpp b/limereport/lrscriptenginemanager.cpp index 18f113b..c73b660 100644 --- a/limereport/lrscriptenginemanager.cpp +++ b/limereport/lrscriptenginemanager.cpp @@ -1304,7 +1304,7 @@ void ScriptEngineContext::baseDesignIntfToScript(const QString& pageName, BaseDe engine->newQObject(sItem, item); } else { sItem = engine->newQObject(item); - engine->globalObject().setProperty(pageName+"_"+item->patternName(),sItem); + engine->globalObject().setProperty(on,sItem); } #endif foreach(BaseDesignIntf* child, item->childBaseItems()){