Skip to content
Permalink
Browse files

Fix restoring previous GDAL alg raster creation options when running …

…an algorithm from processing history
  • Loading branch information
nyalldawson authored and github-actions committed Feb 9, 2021
1 parent a8b288d commit 72a5fe7db39c7ba81b2508c82c017aed0d688c65
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/plugins/processing/algs/gdal/ui/RasterOptionsWidget.py
@@ -58,7 +58,8 @@ def setValue(self, value):
elif self.dialogType == DIALOG_BATCH:
self.widget.setText(value)
else:
self.widget.setOptions(value)
# The QgsRasterFormatSaveOptionsWidget requires space delimited options, but this wrapper uses | delimiter
self.widget.setOptions(value.replace('|', ' '))

def value(self):
if self.dialogType == DIALOG_MODELER:

0 comments on commit 72a5fe7

Please sign in to comment.