Skip to content
Permalink
Browse files

[processing] correctly return widget in TableFieldWidgetWrapper

  • Loading branch information
volaya committed Oct 5, 2016
1 parent ae0e9c8 commit affc8f7ca5639545cde28b20e15bea6cf37b4240
Showing with 4 additions and 3 deletions.
  1. +4 −3 python/plugins/processing/gui/wrappers.py
@@ -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)

0 comments on commit affc8f7

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