Skip to content

Commit

Permalink
[processing] do not declare output of saveselectfeatures as points
Browse files Browse the repository at this point in the history
It can be of any geometry type
  • Loading branch information
volaya authored and nyalldawson committed May 27, 2019
1 parent de0544c commit a1c4130
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void QgsSaveSelectedFeatures::initAlgorithm( const QVariantMap & )
{
addParameter( new QgsProcessingParameterVectorLayer( QStringLiteral( "INPUT" ), QObject::tr( "Input layer" ),
QList< int >() << QgsProcessing::TypeVector ) );
addParameter( new QgsProcessingParameterFeatureSink( QStringLiteral( "OUTPUT" ), QObject::tr( "Selected features" ), QgsProcessing::TypeVectorPoint ) );
addParameter( new QgsProcessingParameterFeatureSink( QStringLiteral( "OUTPUT" ), QObject::tr( "Selected features" ) ) );
}

QString QgsSaveSelectedFeatures::name() const
Expand Down

0 comments on commit a1c4130

Please sign in to comment.