Skip to content

Commit

Permalink
Fix error when double clicking destination param in batch dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 10, 2017
1 parent feb66d2 commit 08b189d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/plugins/processing/gui/BatchPanel.py
Expand Up @@ -285,6 +285,10 @@ def removeRows(self):

def fillParameterValues(self, column):
wrapper = self.wrappers[0][column]
if wrapper is None:
# e.g. double clicking on a destination header
return

for row in range(1, self.tblParameters.rowCount()):
self.wrappers[row][column].setValue(wrapper.value())

Expand Down

0 comments on commit 08b189d

Please sign in to comment.