mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-15 00:07:25 -05:00
[processing] Fix python error when attempting to re-open generate XYZ tiles algorithm from the history dialog
This commit is contained in:
parent
f2e4ac606e
commit
aa05f7641a
@ -121,6 +121,7 @@ class HistoryDialog(BASE, WIDGET):
|
||||
if item.isAlg:
|
||||
script = 'import processing\n'
|
||||
script += 'from qgis.core import QgsProcessingOutputLayerDefinition, QgsProcessingFeatureSourceDefinition, QgsProperty, QgsCoordinateReferenceSystem, QgsFeatureRequest\n'
|
||||
script += 'from qgis.PyQt.QtGui import QColor\n'
|
||||
script += item.entry.text.replace('processing.run(', 'processing.execAlgorithmDialog(')
|
||||
self.close()
|
||||
exec(script)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user