Skip to content

Commit

Permalink
Fix qgis#55636 Vector type vs VectorAnyGeometry in multiple source pr…
Browse files Browse the repository at this point in the history
…ocessing parameter
  • Loading branch information
Djedouas committed Feb 21, 2024
1 parent 667d191 commit d496e43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ void QgsProcessingMultipleInputPanelWidget::populateFromProject( QgsProject *pro
case QgsProcessing::TypeVector:
case QgsProcessing::TypeVectorAnyGeometry:
{
const QList<QgsVectorLayer *> options = QgsProcessingUtils::compatibleVectorLayers( project, QList< int >() );
const QList<QgsVectorLayer *> options = QgsProcessingUtils::compatibleVectorLayers( project, QList< int >() << mParameter->layerType() );
for ( const QgsVectorLayer *layer : options )
{
addLayer( layer );
Expand Down

0 comments on commit d496e43

Please sign in to comment.