0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-01-11 17:18:10 +03:00

ScriptManager fixed

This commit is contained in:
Arin Alexander 2018-01-26 17:38:23 +03:00
parent 7c341c374d
commit 8e1f99d4b9

View File

@ -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)));