Skip to content

Commit

Permalink
[processing] Correctly set IN_PLACE configuration option when running…
Browse files Browse the repository at this point in the history
… in place algorithms through locator filter

(cherry picked from commit 8a3a039)
  • Loading branch information
nyalldawson committed Feb 19, 2021
1 parent 7a7e56a commit 122725b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/plugins/processing/gui/AlgorithmLocatorFilter.py
Expand Up @@ -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:
Expand Down

0 comments on commit 122725b

Please sign in to comment.