Skip to content
Permalink
Browse files

[processing] allow only one row in batch interface

fixes #15703
  • Loading branch information
volaya committed Oct 28, 2016
1 parent 520b94e commit 05e70b269754f625dd083070a57c2c14ca8fe9b6
Showing with 1 addition and 7 deletions.
  1. +1 −7 python/plugins/processing/gui/BatchPanel.py
@@ -347,13 +347,7 @@ def addRow(self):
self.tblParameters.setCellWidget(row, column, item)

def removeRows(self):
# ~ self.tblParameters.setUpdatesEnabled(False)
# ~ indexes = self.tblParameters.selectionModel().selectedIndexes()
# ~ indexes.sort()
# ~ for i in reversed(indexes):
# ~ self.tblParameters.model().removeRow(i.row())
# ~ self.tblParameters.setUpdatesEnabled(True)
if self.tblParameters.rowCount() > 2:
if self.tblParameters.rowCount() > 1:
self.tblParameters.setRowCount(self.tblParameters.rowCount() - 1)

def fillParameterValues(self, column):

0 comments on commit 05e70b2

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