Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
don't export features without category by default
(cherry picked from commit 19dcfb9)
  • Loading branch information
alexbruy committed Jan 31, 2019
1 parent d344ec1 commit a1d75a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/grass7/Grass7Algorithm.py
Expand Up @@ -324,7 +324,7 @@ def defineCharacteristicsFromFile(self):
param = QgsProcessingParameterBoolean(
self.GRASS_VECTOR_EXPORT_NOCAT,
self.tr('Also export features without category (not labeled). Otherwise only features with category are exported'),
True
False
)
param.setFlags(param.flags() | QgsProcessingParameterDefinition.FlagAdvanced)
self.params.append(param)
Expand Down
Expand Up @@ -406,6 +406,7 @@ tests:
GRASS_SNAP_TOLERANCE_PARAMETER: -1.0
GRASS_VECTOR_DSCO: ''
GRASS_VECTOR_LCO: ''
GRASS_VECTOR_EXPORT_NOCAT: true
input:
name: pointsz.gml|layername=pointsz
type: vector
Expand Down

0 comments on commit a1d75a4

Please sign in to comment.