Skip to content

Commit

Permalink
[processing] Fix crash in model designer when a child algorithm
Browse files Browse the repository at this point in the history
contains hidden parameters
  • Loading branch information
nyalldawson committed Oct 6, 2020
1 parent 5f66104 commit f3c9f9b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/gui/processing/models/qgsmodelgraphicsscene.cpp
Expand Up @@ -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 )
Expand Down

0 comments on commit f3c9f9b

Please sign in to comment.