Skip to content

Commit b0ad13f

Browse files
committed
Remove some unused code
1 parent 0ff5820 commit b0ad13f

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
@@ -120,10 +120,6 @@ def initWidgets(self):
120120
break
121121

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

@@ -144,10 +140,6 @@ def initWidgets(self):
144140
column, QTableWidgetItem(out.description()))
145141
column += 1
146142

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

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

0 commit comments

Comments
 (0)