mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
[processing] Show model outputs even if they are hidden in the child
This commit is contained in:
parent
eb39d2379c
commit
0b149f5282
@ -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() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user