mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
[processing] correctly return widget in TableFieldWidgetWrapper
This commit is contained in:
parent
ae0e9c8442
commit
affc8f7ca5
@ -745,9 +745,10 @@ class TableFieldWidgetWrapper(WidgetWrapper):
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user