We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 13a6fd9 + c0e779f commit dc522e0Copy full SHA for dc522e0
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