Skip to content
Permalink
Browse files

set default value for newly added parameter

  • Loading branch information
alexbruy committed Jan 28, 2019
1 parent 67bc586 commit 0cc483f621c980317929c5f1c6908b7d2dba25f1
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/plugins/processing/algs/grass7/Grass7Algorithm.py
@@ -323,7 +323,8 @@ def defineCharacteristicsFromFile(self):
# Add a -c flag for export
param = QgsProcessingParameterBoolean(
self.GRASS_VECTOR_EXPORT_NOCAT,
self.tr('Also export features without category (not labeled). Otherwise only features with category are exported')
self.tr('Also export features without category (not labeled). Otherwise only features with category are exported'),
True
)
param.setFlags(param.flags() | QgsProcessingParameterDefinition.FlagAdvanced)
self.params.append(param)

0 comments on commit 0cc483f

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