Skip to content

Commit

Permalink
[processing] Correctly supress CRS selector dialog when testing
Browse files Browse the repository at this point in the history
input layer validity

TODO: we NEED a non-hacky way to supress this dialog and allow
invalid CRS for layers!

Fixes #17948
  • Loading branch information
nyalldawson committed Jan 29, 2018
1 parent bbe974c commit 22de251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/processing/qgsprocessingutils.cpp
Expand Up @@ -141,7 +141,7 @@ class ProjectionSettingRestorer
{
QgsSettings settings;
previousSetting = settings.value( QStringLiteral( "/Projections/defaultBehavior" ) ).toString();
settings.setValue( QStringLiteral( "/Projections/defaultBehavior" ), QString() );
settings.setValue( QStringLiteral( "/Projections/defaultBehavior" ), QStringLiteral( "useProject" ) );
}

~ProjectionSettingRestorer()
Expand Down

0 comments on commit 22de251

Please sign in to comment.