Skip to content

Commit

Permalink
[processing] Use a feature source for the input of the extract by loc…
Browse files Browse the repository at this point in the history
…ation alg
  • Loading branch information
github-actions[bot] authored and nyalldawson committed Aug 4, 2020
1 parent 0628c59 commit afaccb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/analysis/processing/qgsalgorithmextractbylocation.cpp
Expand Up @@ -436,7 +436,8 @@ QVariantMap QgsSelectByLocationAlgorithm::processAlgorithm( const QVariantMap &p

void QgsExtractByLocationAlgorithm::initAlgorithm( const QVariantMap & )
{
addParameter( new QgsProcessingParameterVectorLayer( QStringLiteral( "INPUT" ), QObject::tr( "Extract features from" ),
addParameter( new QgsProcessingParameterFeatureSource( QStringLiteral( "INPUT" ),
QObject::tr( "Extract features from" ),
QList< int >() << QgsProcessing::TypeVectorAnyGeometry ) );
addPredicateParameter();
addParameter( new QgsProcessingParameterFeatureSource( QStringLiteral( "INTERSECT" ),
Expand Down

0 comments on commit afaccb6

Please sign in to comment.