Skip to content
Permalink
Browse files

Merge pull request #6795 from rldhont/processing-default-string-param…

…eter-none-218

[Processing] None is the default value for parameters also for string
  • Loading branch information
rldhont committed May 2, 2018
2 parents 0c03378 + ac4d776 commit d6af93e006127604b58990f71f85bde6cc467d08
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/core/parameters.py
@@ -740,7 +740,7 @@ class ParameterString(Parameter):
NEWLINE = '\n'
ESCAPED_NEWLINE = '\\n'

def __init__(self, name='', description='', default='', multiline=False,
def __init__(self, name='', description='', default=None, multiline=False,
optional=False, evaluateExpressions=False):
Parameter.__init__(self, name, description, default, optional)
self.multiline = parseBool(multiline)

0 comments on commit d6af93e

Please sign in to comment.
You can’t perform that action at this time.