Skip to content

Commit

Permalink
set default value for newly added parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Jan 30, 2019
1 parent 67bc586 commit 0cc483f
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 0cc483f

Please sign in to comment.