Skip to content

Commit 5710698

Browse files
ghtmttnyalldawson
authored andcommittedMay 17, 2018
[processing] change 0 to Not set Null value also for contour
1 parent 9d7212f commit 5710698

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/algs/gdal/contour.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def initAlgorithm(self, config=None):
9191
nodata_param = QgsProcessingParameterNumber(self.NODATA,
9292
self.tr('Input pixel value to treat as "nodata"'),
9393
type=QgsProcessingParameterNumber.Double,
94-
defaultValue=0.0,
94+
defaultValue='',
9595
optional=True)
9696
nodata_param.setFlags(nodata_param.flags() | QgsProcessingParameterDefinition.FlagAdvanced)
9797
self.addParameter(nodata_param)

0 commit comments

Comments
 (0)
Please sign in to comment.