Skip to content

Commit

Permalink
[processing] correctly return widget in TableFieldWidgetWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Oct 5, 2016
1 parent ae0e9c8 commit affc8f7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions python/plugins/processing/gui/wrappers.py
Expand Up @@ -745,9 +745,10 @@ def createWidget(self):
widget = QComboBox()
return widget
elif self.dialogType == DIALOG_BATCH:
item = QLineEdit()
if self.param.default is not None:
item.setText(self.param.default)
widget = QLineEdit()
if self.param.default:
widget.setText(self.param.default)
return widget
else:
widget = QComboBox()
widget.setEditable(True)
Expand Down

0 comments on commit affc8f7

Please sign in to comment.