Skip to content

Commit

Permalink
set default value for newly added parameter
Browse files Browse the repository at this point in the history
(cherry picked from commit 0cc483f)
  • Loading branch information
alexbruy committed Jan 31, 2019
1 parent 32357f2 commit d344ec1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/plugins/processing/algs/grass7/Grass7Algorithm.py
Expand Up @@ -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)
Expand Down

0 comments on commit d344ec1

Please sign in to comment.