mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-23 12:12:59 +03:00
Finish 1.7.9
This commit is contained in:
commit
e833461923
@ -3,7 +3,7 @@ project(limereport)
|
||||
|
||||
set(LIMEREPORT_VERSION_MAJOR 1)
|
||||
set(LIMEREPORT_VERSION_MINOR 7)
|
||||
set(LIMEREPORT_VERSION_RELEASE 7)
|
||||
set(LIMEREPORT_VERSION_RELEASE 9)
|
||||
|
||||
option(ENABLE_ZINT "Enable libzint build for barcode support" OFF)
|
||||
option(LIMEREPORT_STATIC "Build LimeReport as static library" OFF)
|
||||
|
@ -141,7 +141,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc
|
||||
|
||||
LIMEREPORT_VERSION_MAJOR = 1
|
||||
LIMEREPORT_VERSION_MINOR = 7
|
||||
LIMEREPORT_VERSION_RELEASE = 7
|
||||
LIMEREPORT_VERSION_RELEASE = 9
|
||||
|
||||
LIMEREPORT_VERSION = '$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}'
|
||||
DEFINES *= LIMEREPORT_VERSION_STR=\\\"$${LIMEREPORT_VERSION}\\\"
|
||||
|
@ -483,9 +483,8 @@ bool ReportDesignWidget::save()
|
||||
bool result = false;
|
||||
|
||||
if (emitSaveReport()) {
|
||||
result = true; // saved via signal
|
||||
}
|
||||
else if (!m_report->reportFileName().isEmpty()){
|
||||
result = true;
|
||||
} else if (!m_report->reportFileName().isEmpty()) {
|
||||
if (m_report->saveToFile()){
|
||||
m_report->emitSaveFinished();
|
||||
result = true;
|
||||
@ -495,7 +494,15 @@ bool ReportDesignWidget::save()
|
||||
m_report->emitSaveFinished();
|
||||
result = true;
|
||||
}
|
||||
else if (m_report->saveToFile(QFileDialog::getSaveFileName(this,tr("Report file name"),"","Report files (*.lrxml);; All files (*)"))){
|
||||
else if (
|
||||
m_report->saveToFile(
|
||||
QFileDialog::getSaveFileName(
|
||||
this, tr("Report file name"),
|
||||
m_report->currentReportsDir(),
|
||||
"Report files (*.lrxml);; All files (*)"
|
||||
)
|
||||
)
|
||||
){
|
||||
m_report->emitSaveFinished();
|
||||
result = true;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user