Skip to content
Permalink
Browse files

handle NullGeometry case

  • Loading branch information
alexbruy committed Mar 14, 2020
1 parent 70c5018 commit 8842ab3fcf6c5374d7cc1c47a04ef6890503a43e
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/gui/processing/qgsprocessingmaplayercombobox.cpp
@@ -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" )

0 comments on commit 8842ab3

Please sign in to comment.
You can’t perform that action at this time.