Skip to content
Permalink
Browse files

[processing] Fix crash in model designer when a child algorithm

contains hidden parameters
  • Loading branch information
nyalldawson committed Oct 6, 2020
1 parent 5f66104 commit f3c9f9bfbc2fc456c77965be4c1e65cc692bc0d0
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/gui/processing/models/qgsmodelgraphicsscene.cpp
@@ -183,11 +183,11 @@ void QgsModelGraphicsScene::createItems( QgsProcessingModelAlgorithm *model, Qgs
addItem( arrow );
}
}
if ( parameter->isDestination() )
bottomIdx++;
else
topIdx++;
}
if ( parameter->isDestination() )
bottomIdx++;
else
topIdx++;
}
const QList< QgsProcessingModelChildDependency > dependencies = it.value().dependencies();
for ( const QgsProcessingModelChildDependency &depend : dependencies )

0 comments on commit f3c9f9b

Please sign in to comment.
You can’t perform that action at this time.