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 13a6fd9 commit c0e779fCopy full SHA for c0e779f
src/app/composer/qgscomposer.cpp
@@ -746,7 +746,7 @@ void QgsComposer::on_mActionPrint_triggered()
746
mView->setPaintingEnabled( false );
747
748
QgsAtlasComposition* atlasMap = &mComposition->atlasComposition();
749
- if ( atlasMap == 0 )
+ if ( !atlasMap->enabled() )
750
{
751
mComposition->print( mPrinter );
752
}
@@ -830,7 +830,7 @@ void QgsComposer::on_mActionExportAsImage_triggered()
830
831
832
833
- if ( 0 == atlasMap )
834
835
QPair<QString, QString> fileNExt = QgisGui::getSaveAsImageName( this, tr( "Choose a file name to save the map image as" ) );
836
0 commit comments