Skip to content

Commit a794c71

Browse files
committed
[processing] fixed #10445
1 parent 93511b2 commit a794c71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/gui/BatchInputSelectionPanel.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def showLayerSelectionDialog(self):
9595
if isinstance(self.param, ParameterMultipleInput):
9696
self.text.setText(';'.join(layers[idx].name() for idx in selected))
9797
else:
98-
rowdif = len(layers) - (self.table.rowCount() - self.row)
98+
rowdif = len(selected) - (self.table.rowCount() - self.row)
9999
for i in range(rowdif):
100100
self.batchDialog.addRow()
101101
for i, layeridx in enumerate(selected):

0 commit comments

Comments
 (0)