We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 66fbe48 commit dce9da1Copy full SHA for dce9da1
src/app/composer/qgscomposer.cpp
@@ -2432,7 +2432,7 @@ void QgsComposer::exportCompositionAsSVG( QgsComposer::OutputMode mode )
2432
QString lastUsedFile = settings.value( "/UI/lastSaveAsSvgFile", "qgis.svg" ).toString();
2433
QFileInfo file( lastUsedFile );
2434
2435
- if ( atlasMap->enabled() )
+ if ( atlasMap->enabled() && mComposition->atlasMode() == QgsComposition::PreviewAtlas )
2436
{
2437
outputFileName = QDir( file.path() ).filePath( atlasMap->currentFilename() ) + ".svg";
2438
}
0 commit comments