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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user