Skip to content
Permalink
Browse files

[processing] Correctly supress CRS selector dialog when testing

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 22de251156f54984a3992aa5433cccc42ff1e059
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/processing/qgsprocessingutils.cpp
@@ -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()

0 comments on commit 22de251

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