Skip to content

Commit 08b189d

Browse files
committed
Fix error when double clicking destination param in batch dialog
1 parent feb66d2 commit 08b189d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

python/plugins/processing/gui/BatchPanel.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,10 @@ def removeRows(self):
285285

286286
def fillParameterValues(self, column):
287287
wrapper = self.wrappers[0][column]
288+
if wrapper is None:
289+
# e.g. double clicking on a destination header
290+
return
291+
288292
for row in range(1, self.tblParameters.rowCount()):
289293
self.wrappers[row][column].setValue(wrapper.value())
290294

0 commit comments

Comments
 (0)