Skip to content

Commit ebb725e

Browse files
committed
[processing] create widget correctly from wrapper when in batch mode
1 parent 550c74e commit ebb725e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

python/plugins/processing/gui/wrappers.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,9 @@ def createWidget(self):
761761
self.combo.currentTextChanged.connect(lambda: self.widgetValueHasChanged.emit(self))
762762
return widget
763763
elif self.dialogType == DIALOG_BATCH:
764-
return BatchInputSelectionPanel(self.param, self.row, self.col, self.dialog)
764+
widget = BatchInputSelectionPanel(self.param, self.row, self.col, self.dialog)
765+
widget.valueChanged.connect(lambda: self.widgetValueHasChanged.emit(self))
766+
return widget
765767
else:
766768
self.combo = QComboBox()
767769
layers = self.getAvailableLayers()
@@ -1274,7 +1276,9 @@ def createWidget(self):
12741276
return widget
12751277

12761278
elif self.dialogType == DIALOG_BATCH:
1277-
return BatchInputSelectionPanel(self.param, self.row, self.col, self.dialog)
1279+
widget = BatchInputSelectionPanel(self.param, self.row, self.col, self.dialog)
1280+
widget.valueChanged.connect(lambda: self.widgetValueHasChanged.emit(self))
1281+
return widget
12781282
else:
12791283
self.combo = QComboBox()
12801284
self.combo.setEditable(True)

0 commit comments

Comments
 (0)