Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] remove old params from wrappers
  • Loading branch information
alexbruy committed Nov 28, 2017
1 parent 3d4a59b commit d65c036
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/plugins/processing/gui/wrappers.py
Expand Up @@ -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,
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit d65c036

Please sign in to comment.