mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-25 00:54:39 +03:00
Export report has been fixed
This commit is contained in:
parent
c657136a1e
commit
92788d100b
@ -491,6 +491,7 @@ bool ReportEnginePrivate::exportReport(QString exporterName, const QString &file
|
|||||||
if (fn.isEmpty()){
|
if (fn.isEmpty()){
|
||||||
QString filter = QString("%1 (*.%2)").arg(e->exporterName()).arg(e->exporterFileExt());
|
QString filter = QString("%1 (*.%2)").arg(e->exporterName()).arg(e->exporterFileExt());
|
||||||
QString fn = QFileDialog::getSaveFileName(0,tr("%1 file name").arg(e->exporterName()),"",filter);
|
QString fn = QFileDialog::getSaveFileName(0,tr("%1 file name").arg(e->exporterName()),"",filter);
|
||||||
|
}
|
||||||
if (!fn.isEmpty()){
|
if (!fn.isEmpty()){
|
||||||
QFileInfo fi(fn);
|
QFileInfo fi(fn);
|
||||||
if (fi.suffix().isEmpty())
|
if (fi.suffix().isEmpty())
|
||||||
@ -505,7 +506,6 @@ bool ReportEnginePrivate::exportReport(QString exporterName, const QString &file
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user