Skip to content
Permalink
Browse files

invert logic

  • Loading branch information
roya0045 authored and nyalldawson committed Mar 22, 2020
1 parent 05ffd2d commit e1b5fa3001cc038400cd0f02f19c2c8c03260089
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/app/layout/qgslayoutdesignerdialog.cpp
@@ -2651,7 +2651,7 @@ void QgsLayoutDesignerDialog::exportAtlasToRaster()
if ( !printAtlas || !printAtlas->enabled() )
return;

if ( printAtlas->coverageLayer() )
if ( !printAtlas->coverageLayer() )
{
QMessageBox::warning( this, tr( "Export Atlas as Image" ),
tr( "Error: No coverage layer is set." ),
@@ -2832,7 +2832,7 @@ void QgsLayoutDesignerDialog::exportAtlasToSvg()
if ( !printAtlas || !printAtlas->enabled() )
return;

if ( printAtlas->coverageLayer() )
if ( !printAtlas->coverageLayer() )
{
QMessageBox::warning( this, tr( "Export Atlas as Image" ),
tr( "Error: No coverage layer is set." ),
@@ -3009,7 +3009,7 @@ void QgsLayoutDesignerDialog::exportAtlasToPdf()
if ( !printAtlas || !printAtlas->enabled() )
return;

if ( printAtlas->coverageLayer() )
if ( !printAtlas->coverageLayer() )
{
QMessageBox::warning( this, tr( "Export Atlas as Image" ),
tr( "Error: No coverage layer is set." ),

0 comments on commit e1b5fa3

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