Skip to content
Permalink
Browse files

Add count to "tradition run in place execution"

  • Loading branch information
m-kuhn authored and nyalldawson committed Sep 14, 2020
1 parent 656c533 commit d2c60cca30276df6d12101482e839773e49b0e00
Showing with 1 addition and 0 deletions.
  1. +1 −0 python/plugins/processing/gui/AlgorithmExecutor.py
@@ -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()

0 comments on commit d2c60cc

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