Skip to content
Permalink
Browse files

[layouts] Fix export to pdf reports a print error instead of a file e…

…rror on inaccessible file names
  • Loading branch information
nyalldawson committed Jul 19, 2018
1 parent 3abbb47 commit 549820428e42dbecf1c3d011308ef5d810220810
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/layout/qgslayoutexporter.cpp
@@ -486,7 +486,7 @@ QgsLayoutExporter::ExportResult QgsLayoutExporter::exportToPdf( const QString &f
if ( !p.begin( &printer ) )
{
//error beginning print
return PrintError;
return FileError;
}

ExportResult result = printPrivate( printer, p, false, settings.dpi, settings.rasterizeWholeImage );

0 comments on commit 5498204

Please sign in to comment.
You can’t perform that action at this time.