Skip to content

Commit 0b149f5

Browse files
committed
[processing] Show model outputs even if they are hidden in the child
1 parent eb39d23 commit 0b149f5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/core/processing/models/qgsprocessingmodelalgorithm.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,9 @@ void QgsProcessingModelAlgorithm::updateDestinationParameters()
769769
continue;
770770

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

0 commit comments

Comments
 (0)