Fix regression. Export to tiled PDF has no suffix.
This commit is contained in:
parent
d86a483524
commit
d62bf67759
|
@ -1,6 +1,7 @@
|
|||
# Version 0.7.43 (unreleased)
|
||||
- Improve Windows installer. Avoid crashing on checking if a program is still running.
|
||||
- Fix regression. Changing dimension value caused an infinite loop.
|
||||
- Fix regression. Export to tiled PDF has no suffix.
|
||||
|
||||
# Version 0.7.42 Jan 26, 2021
|
||||
- Fix export of pattern recipe.
|
||||
|
|
|
@ -527,11 +527,7 @@ void VPrintLayout::SetPrinterOutputFileName(QPrinter *printer, PrintType printTy
|
|||
{
|
||||
const QString outputFileName = filePath.isEmpty() ? QDir::homePath() + QDir::separator() + DocName()
|
||||
: filePath;
|
||||
#ifdef Q_OS_WIN
|
||||
printer->setOutputFileName(outputFileName);
|
||||
#else
|
||||
printer->setOutputFileName(outputFileName + QStringLiteral(".pdf"));
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
printer->setOutputFormat(QPrinter::NativeFormat);
|
||||
|
|
Loading…
Reference in New Issue
Block a user