Skip to content

Commit 5b5560a

Browse files
committed
Set default method for check validity alg
1 parent a441b73 commit 5b5560a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/algs/qgis/CheckValidity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def initAlgorithm(self, config=None):
8282
self.addParameter(QgsProcessingParameterFeatureSource(self.INPUT_LAYER,
8383
self.tr('Input layer')))
8484
self.addParameter(QgsProcessingParameterEnum(self.METHOD,
85-
self.tr('Method'), self.methods))
85+
self.tr('Method'), self.methods, defaultValue=2))
8686
self.parameterDefinition(self.METHOD).setMetadata({
8787
'widget_wrapper': {
8888
'class': 'processing.gui.wrappers.EnumWidgetWrapper',

0 commit comments

Comments
 (0)