Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove some unused code
  • Loading branch information
nyalldawson committed Apr 26, 2019
1 parent 0ff5820 commit b0ad13f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions python/plugins/processing/gui/BatchPanel.py
Expand Up @@ -120,10 +120,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())

Expand All @@ -144,10 +140,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()
Expand Down

0 comments on commit b0ad13f

Please sign in to comment.