Skip to content
Permalink
Browse files

Do not crash when using a parameter with FlagHidden

  • Loading branch information
m-kuhn committed Apr 9, 2018
1 parent ed352c4 commit 31d7e4b6a0626c572203eab2a8952c53531d39f1
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/core/processing/models/qgsprocessingmodelalgorithm.cpp
@@ -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() ) )

0 comments on commit 31d7e4b

Please sign in to comment.
You can’t perform that action at this time.