Skip to content

Commit

Permalink
[Processing] Fix bug in setting default parameter values in batch mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
radosuav committed Jan 22, 2015
1 parent 2310046 commit 4aafa92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/plugins/processing/gui/BatchPanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,9 @@ def getWidgetFromParameter(self, param, row, col):
else:
item = QLineEdit()
try:
item.setText(param.default)
item.setText(str(param.default))
except:
item.setText("0")
pass

return item
Expand Down

0 comments on commit 4aafa92

Please sign in to comment.