Skip to content
Permalink
Browse files

Remove some unused code

  • Loading branch information
nyalldawson committed Apr 26, 2019
1 parent e62575b commit 69f5303e29eb6ad125d61d384550aac3d9743b65
Showing with 0 additions and 8 deletions.
  1. +0 −8 python/plugins/processing/gui/BatchPanel.py
@@ -119,10 +119,6 @@ def initWidgets(self):
break

# Determine column count
nOutputs = len(self.alg.destinationParameterDefinitions()) + 1
if nOutputs == 1:
nOutputs = 0

self.tblParameters.setColumnCount(
self.alg.countVisibleParameters())

@@ -143,10 +139,6 @@ def initWidgets(self):
column, QTableWidgetItem(out.description()))
column += 1

# Last column for indicating if output will be added to canvas
if len(self.alg.destinationParameterDefinitions()) > 0:
self.tblParameters.setHorizontalHeaderItem(
column, QTableWidgetItem(self.tr('Load in QGIS')))

# Add an empty row to begin
self.addRow()

0 comments on commit 69f5303

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