From 8e1f99d4b985aac5c2add8f9c74926a7890154df Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Fri, 26 Jan 2018 17:38:23 +0300 Subject: [PATCH] ScriptManager fixed --- limereport/lrreportengine.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/limereport/lrreportengine.cpp b/limereport/lrreportengine.cpp index 8a4e46c..adb9e73 100644 --- a/limereport/lrreportengine.cpp +++ b/limereport/lrreportengine.cpp @@ -73,6 +73,7 @@ ReportEnginePrivate::ReportEnginePrivate(QObject *parent) : #endif m_datasources = new DataSourceManager(this); m_datasources->setReportSettings(&m_reportSettings); + scriptManager()->setDataManager(m_datasources); m_scriptEngineContext = new ScriptEngineContext(this); m_datasources->setObjectName("datasources"); connect(m_datasources,SIGNAL(loadCollectionFinished(QString)),this,SLOT(slotDataSourceCollectionLoaded(QString)));