Skip to content
Permalink
Browse files

[processing] Show model outputs even if they are hidden in the child

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

0 comments on commit 0b149f5

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