Skip to content
Permalink
Browse files

[processing] fix rows addition in batch processing interface

  • Loading branch information
alexbruy committed Dec 11, 2014
1 parent e115616 commit 50620533e7236f5005e0ee275052b62bf4488e88
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/gui/BatchInputSelectionPanel.py
@@ -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())
@@ -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)

0 comments on commit 5062053

Please sign in to comment.
You can’t perform that action at this time.