Skip to content
Permalink
Browse files

Correctly populate compatible input and output types for extent param

  • Loading branch information
nyalldawson committed Mar 25, 2020
1 parent 9771b15 commit aeca36817e867795ce4f9c000ded21be44e95d22
Showing with 11 additions and 2 deletions.
  1. +11 −2 src/gui/processing/qgsprocessingwidgetwrapperimpl.cpp
@@ -4870,13 +4870,22 @@ QStringList QgsProcessingExtentWidgetWrapper::compatibleParameterTypes() const
{
return QStringList()
<< QgsProcessingParameterExtent::typeName()
<< QgsProcessingParameterString::typeName();
<< QgsProcessingParameterString::typeName()
<< QgsProcessingParameterMapLayer::typeName()
<< QgsProcessingParameterFeatureSource::typeName()
<< QgsProcessingParameterRasterLayer::typeName()
<< QgsProcessingParameterVectorLayer::typeName()
<< QgsProcessingParameterMeshLayer::typeName();

}

QStringList QgsProcessingExtentWidgetWrapper::compatibleOutputTypes() const
{
return QStringList()
<< QgsProcessingOutputString::typeName();
<< QgsProcessingOutputString::typeName()
<< QgsProcessingOutputRasterLayer::typeName()
<< QgsProcessingOutputVectorLayer::typeName()
<< QgsProcessingOutputMapLayer::typeName();
}

QList<int> QgsProcessingExtentWidgetWrapper::compatibleDataTypes() const

0 comments on commit aeca368

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