Skip to content

Commit

Permalink
handle NullGeometry case
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Mar 14, 2020
1 parent 70c5018 commit 8842ab3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/processing/qgsprocessingmaplayercombobox.cpp
Expand Up @@ -363,6 +363,9 @@ QString QgsProcessingMapLayerComboBox::compatibleUriFromMimeData( const QMimeDat
if ( dataTypes.contains( QgsProcessing::TypeVectorAnyGeometry ) || dataTypes.contains( QgsProcessing::TypeVectorPolygon ) )
return u.uri;
break;

case QgsWkbTypes::NullGeometry:
return u.uri;
}
}
else if ( u.layerType == QLatin1String( "raster" ) && u.providerKey == QLatin1String( "gdal" )
Expand Down

0 comments on commit 8842ab3

Please sign in to comment.