Skip to content

Commit d65c036

Browse files
committedNov 28, 2017
[processing] remove old params from wrappers
1 parent 3d4a59b commit d65c036

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎python/plugins/processing/gui/wrappers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ def createWidget(self):
347347
else:
348348
widget = QComboBox()
349349
widget.setEditable(True)
350-
extents = self.dialog.getAvailableValuesOfType(QgsProcessingParameterExtent, (OutputExtent, QgsProcessingOutputString))
350+
extents = self.dialog.getAvailableValuesOfType(QgsProcessingParameterExtent, (QgsProcessingOutputString))
351351
if self.param.flags() & QgsProcessingParameterDefinition.FlagOptional:
352352
widget.addItem(self.USE_MIN_COVERING_EXTENT, None)
353353
layers = self.dialog.getAvailableValuesOfType([QgsProcessingParameterFeatureSource,
@@ -569,9 +569,9 @@ def _getOptions(self):
569569
elif self.param.layerType() == QgsProcessing.TypeVector:
570570
options = self.dialog.getAvailableValuesOfType((QgsProcessingParameterFeatureSource,
571571
QgsProcessingParameterVectorLayer,
572-
QgsProcessingParameterMultipleLayers), OutputTable)
572+
QgsProcessingParameterMultipleLayers), QgsProcessingOutputVectorLayer)
573573
else:
574-
options = self.dialog.getAvailableValuesOfType(QgsProcessingParameterFile, OutputFile)
574+
options = self.dialog.getAvailableValuesOfType(QgsProcessingParameterFile, QgsProcessingOutputFile)
575575
options = sorted(options, key=lambda opt: self.dialog.resolveValueDescription(opt))
576576
return options
577577

0 commit comments

Comments
 (0)
Please sign in to comment.