Skip to content

Commit 8356feb

Browse files
committed
Remove some unused code
1 parent 7c48b40 commit 8356feb

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

python/plugins/processing/gui/BatchPanel.py

-8
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,6 @@ def initWidgets(self):
116116
break
117117

118118
# Determine column count
119-
nOutputs = len(self.alg.destinationParameterDefinitions()) + 1
120-
if nOutputs == 1:
121-
nOutputs = 0
122-
123119
self.tblParameters.setColumnCount(
124120
self.alg.countVisibleParameters())
125121

@@ -140,10 +136,6 @@ def initWidgets(self):
140136
column, QTableWidgetItem(out.description()))
141137
column += 1
142138

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

148140
# Add an empty row to begin
149141
self.addRow()

0 commit comments

Comments
 (0)