Skip to content

Commit

Permalink
[processing] Set correct output layer type for Point to Layer algorithm
Browse files Browse the repository at this point in the history
Fixes #36941
  • Loading branch information
nyalldawson committed Jun 4, 2020
1 parent 33fb57e commit 7ee85cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analysis/processing/qgsalgorithmpointtolayer.cpp
Expand Up @@ -27,7 +27,7 @@ QString QgsPointToLayerAlgorithm::name() const
void QgsPointToLayerAlgorithm::initAlgorithm( const QVariantMap & )
{
addParameter( new QgsProcessingParameterPoint( QStringLiteral( "INPUT" ), QObject::tr( "Point" ) ) );
addParameter( new QgsProcessingParameterFeatureSink( QStringLiteral( "OUTPUT" ), QObject::tr( "Point" ), QgsProcessing::TypeVectorPolygon ) );
addParameter( new QgsProcessingParameterFeatureSink( QStringLiteral( "OUTPUT" ), QObject::tr( "Point" ), QgsProcessing::TypeVectorPoint ) );
}

QString QgsPointToLayerAlgorithm::shortHelpString() const
Expand Down

0 comments on commit 7ee85cd

Please sign in to comment.