Skip to content
Permalink
Browse files

Do not set "None" value in batch panel string widgets

  • Loading branch information
arnaud-morvan committed Aug 23, 2016
1 parent eb308a6 commit f0413e36d6e677b1bab3f1d7c7af23dd96d86791
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 f0413e3

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