Skip to content

Commit

Permalink
Fix: Processing Modeler help parameter
Browse files Browse the repository at this point in the history
The help parameter is set in the modeler help part.
The commit use it to set the help parameter.

(cherry picked from commit 976ddf1)
  • Loading branch information
rldhont authored and nyalldawson committed Jan 15, 2021
1 parent aeb1f66 commit c698939
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/processing/models/qgsprocessingmodelalgorithm.cpp
Expand Up @@ -1427,6 +1427,10 @@ bool QgsProcessingModelAlgorithm::loadVariant( const QVariant &model )
if ( param->name() == QLatin1String( "VERBOSE_LOG" ) )
return; // internal parameter -- some versions of QGIS incorrectly stored this in the model definition file

// set parameter help from help content
param->setHelp( mHelpContent.value( param->name() ).toString() );

// add parameter
addParameter( param.release() );
}
else
Expand Down

0 comments on commit c698939

Please sign in to comment.