Skip to content
Permalink
Browse files

Remove some unused code

  • Loading branch information
nyalldawson committed Apr 26, 2019
1 parent 7c48b40 commit 8356feba922c5124f8f80a8c08af98a82917c372
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 8356feb

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