Skip to content

Commit

Permalink
Correctly populate compatible input and output types for extent param
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 25, 2020
1 parent 9771b15 commit aeca368
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/gui/processing/qgsprocessingwidgetwrapperimpl.cpp
Expand Up @@ -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
Expand Down

0 comments on commit aeca368

Please sign in to comment.