Skip to content

Commit

Permalink
[processing] fix rows addition in batch processing interface
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Dec 11, 2014
1 parent e115616 commit 5062053
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/gui/BatchInputSelectionPanel.py
Expand Up @@ -106,7 +106,7 @@ def showLayerSelectionDialog(self):
else:
rowdif = len(selected) - (self.table.rowCount() - self.row)
for i in range(rowdif):
self.table.addRow()
self.panel.addRow()
for i, layeridx in enumerate(selected):
self.table.cellWidget(i + self.row,
self.col).setText(layers[layeridx].name())
Expand Down Expand Up @@ -139,7 +139,7 @@ def showFileSelectionDialog(self):
else:
rowdif = len(files) - (self.table.rowCount() - self.row)
for i in range(rowdif):
self.table.addRow()
self.panel.addRow()
for i, f in enumerate(files):
self.table.cellWidget(i + self.row,
self.col).setText(f)
Expand Down

0 comments on commit 5062053

Please sign in to comment.