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

Changes tracking has been fixed

This commit is contained in:
Arin Alexander
2019-02-05 21:51:46 +03:00
parent 2ed1b4b05f
commit 87d0bd5f28
11 changed files with 38 additions and 12 deletions

View File

@@ -284,6 +284,7 @@ void ReportDesignWidget::createTabs(){
}
m_scriptEditor = new ScriptEditor(this);
connect(m_scriptEditor, SIGNAL(textChanged()), this, SLOT(slotScriptTextChanged()));
m_scriptEditor->setReportEngine(m_report);
pageIndex = m_tabWidget->addTab(m_scriptEditor,QIcon(),tr("Script"));
m_tabWidget->setTabWhatsThis(pageIndex,"script");
@@ -882,6 +883,11 @@ void ReportDesignWidget::slotReportLoaded()
m_dialogChanged = false;
}
void ReportDesignWidget::slotScriptTextChanged()
{
m_report->scriptContext()->setInitScript(m_scriptEditor->toPlainText());
}
#ifdef HAVE_QTDESIGNER_INTEGRATION
void ReportDesignWidget::addNewDialog()