Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] dont set default value in param string, when passed null…
… value
  • Loading branch information
volaya committed Oct 18, 2016
1 parent c8e2eb1 commit d911671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/core/parameters.py
Expand Up @@ -750,7 +750,7 @@ def setValue(self, obj):
if not bool(obj):
if not self.optional:
return False
self.value = self.default
self.value = ''
return True

self.value = unicode(obj).replace(
Expand Down

0 comments on commit d911671

Please sign in to comment.