Skip to content

Commit 69f5303

Browse files
committedApr 29, 2019
Remove some unused code
1 parent e62575b commit 69f5303

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed
 

‎python/plugins/processing/gui/BatchPanel.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,6 @@ def initWidgets(self):
119119
break
120120

121121
# Determine column count
122-
nOutputs = len(self.alg.destinationParameterDefinitions()) + 1
123-
if nOutputs == 1:
124-
nOutputs = 0
125-
126122
self.tblParameters.setColumnCount(
127123
self.alg.countVisibleParameters())
128124

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

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.