Skip to content

Commit

Permalink
Set default method for check validity alg
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 3, 2017
1 parent a441b73 commit 5b5560a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/CheckValidity.py
Expand Up @@ -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',
Expand Down

0 comments on commit 5b5560a

Please sign in to comment.