Skip to content
Permalink
Browse files

Set default method for check validity alg

  • Loading branch information
nyalldawson committed Dec 3, 2017
1 parent a441b73 commit 5b5560aaf9afe14396df001e1d223ab2917f1092
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/CheckValidity.py
@@ -82,7 +82,7 @@ def initAlgorithm(self, config=None):
self.addParameter(QgsProcessingParameterFeatureSource(self.INPUT_LAYER,
self.tr('Input layer')))
self.addParameter(QgsProcessingParameterEnum(self.METHOD,
self.tr('Method'), self.methods))
self.tr('Method'), self.methods, defaultValue=2))
self.parameterDefinition(self.METHOD).setMetadata({
'widget_wrapper': {
'class': 'processing.gui.wrappers.EnumWidgetWrapper',

0 comments on commit 5b5560a

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