Skip to content

Commit

Permalink
[processing] Show model outputs even if they are hidden in the child
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Apr 9, 2018
1 parent eb39d23 commit 0b149f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/processing/models/qgsprocessingmodelalgorithm.cpp
Expand Up @@ -769,6 +769,9 @@ void QgsProcessingModelAlgorithm::updateDestinationParameters()
continue;

std::unique_ptr< QgsProcessingParameterDefinition > param( source->clone() );
// Even if an output was hidden in a child algorithm, we want to show it here for the final
// outputs.
param->setFlags( param->flags() & ~QgsProcessingParameterDefinition::FlagHidden );
param->setName( outputIt->childId() + ':' + outputIt->name() );
param->setDescription( outputIt->description() );
addParameter( param.release() );
Expand Down

0 comments on commit 0b149f5

Please sign in to comment.