Skip to content
Permalink
Browse files

set default value for newly added parameter

(cherry picked from commit 0cc483f)
  • Loading branch information
alexbruy committed Jan 28, 2019
1 parent 32357f2 commit d344ec127c67b777e10d184060d21671c60276d8
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 d344ec1

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