Skip to content
Permalink
Browse files

[processing] Correctly set IN_PLACE configuration option when running…

… in place algorithms through locator filter

(cherry picked from commit 8a3a039)
  • Loading branch information
nyalldawson committed Feb 19, 2021
1 parent 7a7e56a commit 122725b0a437e45f5eba2805a3ed4029776aa871
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/plugins/processing/gui/AlgorithmLocatorFilter.py
@@ -177,7 +177,8 @@ def fetchResults(self, string, context, feedback):
self.resultFetched.emit(result)

def triggerResult(self, result):
alg = QgsApplication.processingRegistry().createAlgorithmById(result.userData)
config = {'IN_PLACE': True}
alg = QgsApplication.processingRegistry().createAlgorithmById(result.userData, config)
if alg:
ok, message = alg.canExecute()
if not ok:

0 comments on commit 122725b

Please sign in to comment.