Skip to content

Commit

Permalink
Add count to "tradition run in place execution"
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn authored and nyalldawson committed Sep 14, 2020
1 parent 656c533 commit d2c60cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/plugins/processing/gui/AlgorithmExecutor.py
Expand Up @@ -246,6 +246,7 @@ def execute_in_place_run(alg, parameters, context=None, feedback=None, raise_exc
raise QgsProcessingException(tr("Error adding processed features back into the layer."))
new_ids = set([f.id() for f in active_layer.getFeatures(req)])
new_feature_ids += list(new_ids - old_ids)
results['count'] = len(new_feature_ids)

active_layer.endEditCommand()

Expand Down

0 comments on commit d2c60cc

Please sign in to comment.