Skip to content


[needs-docs][processing] Double clicking a history entry shows
Browse files Browse the repository at this point in the history
the algorithm dialog instead of immediately executing same alg

This allows users to edit the parameters before re-running,
which is a more common user-operation (e.g. changing the
input layer, changing a parameter value "oops, that buffer
was a bit too big....").

If someone wants to exactly re-run the algorithm without changes
it's only one extra click anyway...
  • Loading branch information
nyalldawson committed Dec 21, 2017
1 parent 5f7aa45 commit b25681c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/plugins/processing/gui/
Expand Up @@ -113,7 +113,8 @@ def executeAlgorithm(self):
if item.isAlg:
script = 'import processing\n'
script += 'from qgis.core import QgsProcessingOutputLayerDefinition, QgsProcessingFeatureSourceDefinition\n'
script += item.entry.text.replace('', 'processing.runAndLoadResults(')
script += item.entry.text.replace('', 'processing.execAlgorithmDialog(')

def changeText(self):
Expand Down

0 comments on commit b25681c

Please sign in to comment.