mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-25 00:54:39 +03:00
Script browser update has been fixed
This commit is contained in:
parent
3975406487
commit
117023e920
@ -539,6 +539,7 @@ void ReportDesignWindow::startNewReport()
|
|||||||
m_reportDesignWidget->createStartPage();
|
m_reportDesignWidget->createStartPage();
|
||||||
m_lblReportName->setText("");
|
m_lblReportName->setText("");
|
||||||
updateRedoUndo();
|
updateRedoUndo();
|
||||||
|
m_reportDesignWidget->slotPagesLoadFinished();
|
||||||
m_newPageHeader->setEnabled(true);
|
m_newPageHeader->setEnabled(true);
|
||||||
m_newPageFooter->setEnabled(true);
|
m_newPageFooter->setEnabled(true);
|
||||||
m_newReportHeader->setEnabled(true);
|
m_newReportHeader->setEnabled(true);
|
||||||
|
@ -64,6 +64,7 @@ void ScriptBrowser::setReportEditor(ReportDesignWidget* report)
|
|||||||
|
|
||||||
void ScriptBrowser::updateFunctionTree()
|
void ScriptBrowser::updateFunctionTree()
|
||||||
{
|
{
|
||||||
|
ui->twFunctions->clear();
|
||||||
ScriptEngineManager* sm = reportEditor()->scriptManager();
|
ScriptEngineManager* sm = reportEditor()->scriptManager();
|
||||||
QMap<QString,QTreeWidgetItem*> categ;
|
QMap<QString,QTreeWidgetItem*> categ;
|
||||||
foreach(ScriptFunctionDesc fd, sm->functionsDescriber()){
|
foreach(ScriptFunctionDesc fd, sm->functionsDescriber()){
|
||||||
|
Loading…
Reference in New Issue
Block a user