Skip to content
Permalink
Browse files

Merge pull request #3431 from arnaud-morvan/processing_batch_none

[processing] do not set "None" value in batch panel string widgets
  • Loading branch information
alexbruy committed Aug 24, 2016
2 parents 014409d + f0413e3 commit 57b5a7c84341da0058ef17da5ac3ab7008ddce3f
Showing with 5 additions and 4 deletions.
  1. +5 −4 python/plugins/processing/gui/BatchPanel.py
@@ -170,10 +170,11 @@ def getWidgetFromParameter(self, param, row, col):
self.tblParameters.setColumnWidth(col, width)
else:
item = QLineEdit()
try:
item.setText(unicode(param.default))
except:
pass
if param.default is not None:
try:
item.setText(unicode(param.default))
except:
pass

return item

0 comments on commit 57b5a7c

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