Skip to content

Commit a1d75a4

Browse files
committedJan 31, 2019
don't export features without category by default
(cherry picked from commit 19dcfb9)
1 parent d344ec1 commit a1d75a4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎python/plugins/processing/algs/grass7/Grass7Algorithm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def defineCharacteristicsFromFile(self):
324324
param = QgsProcessingParameterBoolean(
325325
self.GRASS_VECTOR_EXPORT_NOCAT,
326326
self.tr('Also export features without category (not labeled). Otherwise only features with category are exported'),
327-
True
327+
False
328328
)
329329
param.setFlags(param.flags() | QgsProcessingParameterDefinition.FlagAdvanced)
330330
self.params.append(param)

‎python/plugins/processing/tests/testdata/grass7_algorithms_vector_tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ tests:
406406
GRASS_SNAP_TOLERANCE_PARAMETER: -1.0
407407
GRASS_VECTOR_DSCO: ''
408408
GRASS_VECTOR_LCO: ''
409+
GRASS_VECTOR_EXPORT_NOCAT: true
409410
input:
410411
name: pointsz.gml|layername=pointsz
411412
type: vector

0 commit comments

Comments
 (0)
Please sign in to comment.