Skip to content
Permalink
Browse files

[processing] Fix expection when double clicking alg in history with d…

…ynamic property
  • Loading branch information
nyalldawson committed Feb 26, 2018
1 parent 7dc0db5 commit 7f9274350afac685fa2154156b2e7aa4adf7eeb7
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/gui/HistoryDialog.py
@@ -112,7 +112,7 @@ def executeAlgorithm(self):
if isinstance(item, TreeLogEntryItem):
if item.isAlg:
script = 'import processing\n'
script += 'from qgis.core import QgsProcessingOutputLayerDefinition, QgsProcessingFeatureSourceDefinition\n'
script += 'from qgis.core import QgsProcessingOutputLayerDefinition, QgsProcessingFeatureSourceDefinition, QgsProperty\n'
script += item.entry.text.replace('processing.run(', 'processing.execAlgorithmDialog(')
self.close()
exec(script)

0 comments on commit 7f92743

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