Skip to content

Commit

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

Expand All @@ -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()
Expand Down

0 comments on commit 384d537

Please sign in to comment.