Skip to content
Permalink
Browse files

[processing] When adding a Vector Features input to a model, default …

…the input to accepting

sources with geometry instead of leaving the filter blank
  • Loading branch information
nyalldawson committed May 27, 2020
1 parent 1df077a commit 4f7fcb308910f8c3ae0db165103ed59bd76a656c
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/gui/processing/qgsprocessingwidgetwrapperimpl.cpp
@@ -5632,6 +5632,10 @@ QgsProcessingFeatureSourceParameterDefinitionWidget::QgsProcessingFeatureSourceP
mGeometryTypeComboBox->setItemCheckState( mGeometryTypeComboBox->findData( i ), Qt::Checked );
}
}
else
{
mGeometryTypeComboBox->setItemCheckState( mGeometryTypeComboBox->findData( QgsProcessing::TypeVectorAnyGeometry ), Qt::Checked );
}

vlayout->addWidget( mGeometryTypeComboBox );

0 comments on commit 4f7fcb3

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