Skip to content

Commit

Permalink
[processing] When adding a Vector Features input to a model, default …
Browse files Browse the repository at this point in the history
…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 4f7fcb3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gui/processing/qgsprocessingwidgetwrapperimpl.cpp
Expand Up @@ -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 );

Expand Down

0 comments on commit 4f7fcb3

Please sign in to comment.