Skip to content

Commit 4f7fcb3

Browse files
committedMay 27, 2020
[processing] When adding a Vector Features input to a model, default the input to accepting
sources with geometry instead of leaving the filter blank
1 parent 1df077a commit 4f7fcb3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/gui/processing/qgsprocessingwidgetwrapperimpl.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5632,6 +5632,10 @@ QgsProcessingFeatureSourceParameterDefinitionWidget::QgsProcessingFeatureSourceP
56325632
mGeometryTypeComboBox->setItemCheckState( mGeometryTypeComboBox->findData( i ), Qt::Checked );
56335633
}
56345634
}
5635+
else
5636+
{
5637+
mGeometryTypeComboBox->setItemCheckState( mGeometryTypeComboBox->findData( QgsProcessing::TypeVectorAnyGeometry ), Qt::Checked );
5638+
}
56355639

56365640
vlayout->addWidget( mGeometryTypeComboBox );
56375641

0 commit comments

Comments
 (0)
Please sign in to comment.