0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 16:44:39 +03:00

Script object naming has been fixed

This commit is contained in:
Arin Alexander 2019-02-18 18:31:32 +03:00
parent b8900b1e96
commit 0a0e1504fa

View File

@ -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()){