mirror of
https://github.com/qgis/QGIS.git
synced 2025-06-18 00:04:02 -04:00
Fix use before assign
This commit is contained in:
parent
0e1852ce34
commit
dbced352b8
@ -334,7 +334,7 @@ class ModelerParametersDialog(QDialog):
|
||||
outputs[name] = output
|
||||
|
||||
if dest.flags() & QgsProcessingParameterDefinition.FlagIsModelOutput:
|
||||
if not name in outputs:
|
||||
if dest.name() not in outputs:
|
||||
output = QgsProcessingModelOutput(dest.name(), dest.name())
|
||||
output.setChildId(alg.childId())
|
||||
output.setChildOutputName(dest.name())
|
||||
|
Loading…
x
Reference in New Issue
Block a user