Skip to content
Permalink
Browse files

Remove some unused code

  • Loading branch information
nyalldawson committed Apr 26, 2019
1 parent a0ad9b7 commit 384d537148b0d4f874417e81222f6ea3a5f73a6c
Showing with 0 additions and 8 deletions.
  1. +0 −8 python/plugins/processing/gui/BatchPanel.py
@@ -116,10 +116,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())

@@ -140,10 +136,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 384d537

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