diff --git a/common.pri b/common.pri index aef2487..b0cf262 100644 --- a/common.pri +++ b/common.pri @@ -118,7 +118,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc LIMEREPORT_VERSION_MAJOR = 1 LIMEREPORT_VERSION_MINOR = 4 -LIMEREPORT_VERSION_RELEASE = 100 +LIMEREPORT_VERSION_RELEASE = 102 LIMEREPORT_VERSION = '$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}' DEFINES *= LIMEREPORT_VERSION_STR=\\\"$${LIMEREPORT_VERSION}\\\" diff --git a/limereport/lrreportdesignwindow.cpp b/limereport/lrreportdesignwindow.cpp index cf8b004..86f5863 100644 --- a/limereport/lrreportdesignwindow.cpp +++ b/limereport/lrreportdesignwindow.cpp @@ -88,7 +88,11 @@ ReportDesignWindow::ReportDesignWindow(ReportEnginePrivateInterface* report, QWi m_lblReportName = new QLabel(report->reportFileName(),this); m_statusBar->insertWidget(0,m_lblReportName); setStatusBar(m_statusBar); - setWindowTitle("Lime Report Designer"); + + QString windowTitle = "Lime Report Designer"; + if (!report->reportName().isEmpty()) + windowTitle = report->reportName() + " - " + windowTitle; + setWindowTitle(windowTitle); showDefaultEditors(); showDefaultToolBars(); restoreSetting(); @@ -886,6 +890,7 @@ void ReportDesignWindow::slotNewReport() m_lblReportName->setText(""); startNewReport(); m_deletePageAction->setEnabled(false); + setWindowTitle("Lime Report Designer"); } }