Skip to content

Commit

Permalink
[processing] Expose extra options for static feature sources in models
Browse files Browse the repository at this point in the history
Allows users to set static layer inputs for algorithms via browsing
for layers, and also controlling the feature limit and invalid
geometry handling for these static inputs

Fixes #27113, #28770
  • Loading branch information
nyalldawson committed Mar 31, 2020
1 parent fbe36f8 commit b75a418
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gui/processing/qgsprocessingmaplayercombobox.cpp
Expand Up @@ -72,8 +72,7 @@ QgsProcessingMapLayerComboBox::QgsProcessingMapLayerComboBox( const QgsProcessin
layout->setAlignment( mIterateButton, Qt::AlignTop );
}

if ( mParameter->type() == QgsProcessingParameterFeatureSource::typeName() && ( type == QgsProcessingGui::Standard
|| type == QgsProcessingGui::Batch ) )
if ( mParameter->type() == QgsProcessingParameterFeatureSource::typeName() )
{
mSettingsButton = new QToolButton();
mSettingsButton->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "mActionOptions.svg" ) ) );
Expand Down

0 comments on commit b75a418

Please sign in to comment.