mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
[processing] When adding a Vector Features input to a model, default the input to accepting
sources with geometry instead of leaving the filter blank
This commit is contained in:
parent
1df077a950
commit
4f7fcb3089
@ -5632,6 +5632,10 @@ QgsProcessingFeatureSourceParameterDefinitionWidget::QgsProcessingFeatureSourceP
|
|||||||
mGeometryTypeComboBox->setItemCheckState( mGeometryTypeComboBox->findData( i ), Qt::Checked );
|
mGeometryTypeComboBox->setItemCheckState( mGeometryTypeComboBox->findData( i ), Qt::Checked );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
mGeometryTypeComboBox->setItemCheckState( mGeometryTypeComboBox->findData( QgsProcessing::TypeVectorAnyGeometry ), Qt::Checked );
|
||||||
|
}
|
||||||
|
|
||||||
vlayout->addWidget( mGeometryTypeComboBox );
|
vlayout->addWidget( mGeometryTypeComboBox );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user