Skip to content
Permalink
Browse files

[processing] remove old params from wrappers

  • Loading branch information
alexbruy committed Nov 27, 2017
1 parent 3d4a59b commit d65c03678131542017d4352548d87e3b8f69db42
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/processing/gui/wrappers.py
@@ -347,7 +347,7 @@ def createWidget(self):
else:
widget = QComboBox()
widget.setEditable(True)
extents = self.dialog.getAvailableValuesOfType(QgsProcessingParameterExtent, (OutputExtent, QgsProcessingOutputString))
extents = self.dialog.getAvailableValuesOfType(QgsProcessingParameterExtent, (QgsProcessingOutputString))
if self.param.flags() & QgsProcessingParameterDefinition.FlagOptional:
widget.addItem(self.USE_MIN_COVERING_EXTENT, None)
layers = self.dialog.getAvailableValuesOfType([QgsProcessingParameterFeatureSource,
@@ -569,9 +569,9 @@ def _getOptions(self):
elif self.param.layerType() == QgsProcessing.TypeVector:
options = self.dialog.getAvailableValuesOfType((QgsProcessingParameterFeatureSource,
QgsProcessingParameterVectorLayer,
QgsProcessingParameterMultipleLayers), OutputTable)
QgsProcessingParameterMultipleLayers), QgsProcessingOutputVectorLayer)
else:
options = self.dialog.getAvailableValuesOfType(QgsProcessingParameterFile, OutputFile)
options = self.dialog.getAvailableValuesOfType(QgsProcessingParameterFile, QgsProcessingOutputFile)
options = sorted(options, key=lambda opt: self.dialog.resolveValueDescription(opt))
return options

0 comments on commit d65c036

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