Skip to content
Permalink
Browse files

[processing][gdal] Fix incorrect definition of gdal_warp extra_param …

…parameter
  • Loading branch information
nyalldawson committed Feb 5, 2019
1 parent 715395a commit f54f5a4fe70792f4d7ea376e28edad88c4d35d4a
Showing with 4 additions and 4 deletions.
  1. +4 −4 python/plugins/processing/algs/gdal/warp.py
@@ -141,10 +141,10 @@ def initAlgorithm(self, config=None):
multithreading_param.setFlags(multithreading_param.flags() | QgsProcessingParameterDefinition.FlagAdvanced)
self.addParameter(multithreading_param)

extra_param = QgsProcessingParameterBoolean(self.EXTRA,
self.tr('Additional command-line parameters'),
defaultValue=None,
optional=True)
extra_param = QgsProcessingParameterString(self.EXTRA,
self.tr('Additional command-line parameters'),
defaultValue=None,
optional=True)
extra_param.setFlags(extra_param.flags() | QgsProcessingParameterDefinition.FlagAdvanced)
self.addParameter(extra_param)

0 comments on commit f54f5a4

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