mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
set default value for newly added parameter
This commit is contained in:
parent
67bc586036
commit
0cc483f621
@ -323,7 +323,8 @@ class Grass7Algorithm(QgsProcessingAlgorithm):
|
||||
# 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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user