Skip to content

Commit

Permalink
Fix processing algorithm parameters rebuild function
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Sep 30, 2024
1 parent 68472aa commit 88d3161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/processing/processingalgorithmparametersmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ void ProcessingAlgorithmParametersModelBase::rebuild()
mHasAdvancedParameters = true;
}

if ( definition->type() == QStringLiteral( "source" ) && definition->name() != "INPUT" )
if ( definition->type() != QStringLiteral( "source" ) || definition->name() != "INPUT" )
{
mParameters << definition;
mValues << definition->defaultValue();
Expand Down

1 comment on commit 88d3161

@qfield-fairy
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.