mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
[processing] Fix missing default value for Select by Expression
Fixes #30218
This commit is contained in:
parent
52d22b8050
commit
b8dcafbf10
@ -62,7 +62,7 @@ class SelectByExpression(QgisAlgorithm):
|
||||
self.addParameter(QgsProcessingParameterExpression(self.EXPRESSION,
|
||||
self.tr('Expression'), parentLayerParameterName=self.INPUT))
|
||||
self.addParameter(QgsProcessingParameterEnum(self.METHOD,
|
||||
self.tr('Modify current selection by'), self.methods, 0))
|
||||
self.tr('Modify current selection by'), self.methods, defaultValue=0))
|
||||
|
||||
self.addOutput(QgsProcessingOutputVectorLayer(self.OUTPUT, self.tr('Selected (attribute)')))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user