Skip to content

Commit

Permalink
Do not crash when using a parameter with FlagHidden
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Apr 9, 2018
1 parent ed352c4 commit 31d7e4b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/core/processing/models/qgsprocessingmodelalgorithm.cpp
Expand Up @@ -89,9 +89,6 @@ QVariantMap QgsProcessingModelAlgorithm::parametersForChildAlgorithm( const QgsP
QVariantMap childParams;
Q_FOREACH ( const QgsProcessingParameterDefinition *def, child.algorithm()->parameterDefinitions() )
{
if ( def->flags() & QgsProcessingParameterDefinition::FlagHidden )
continue;

if ( !def->isDestination() )
{
if ( !child.parameterSources().contains( def->name() ) )
Expand Down

0 comments on commit 31d7e4b

Please sign in to comment.