We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent b260147 commit af6d3d7Copy full SHA for af6d3d7
python/plugins/processing/gui/BatchPanel.py
@@ -367,6 +367,12 @@ def batchRowCount(self):
367
"""
368
return len(self.wrappers)
369
370
+ def clear(self):
371
+ self.tblParameters.setRowCount(1)
372
+ self.wrappers = []
373
+ self.column_to_parameter_definition = {}
374
+ self.parameter_to_column = {}
375
+
376
def load(self):
377
context = dataobjects.createContext()
378
settings = QgsSettings()
@@ -383,7 +389,7 @@ def load(self):
383
389
# If the user clicked on the cancel button.
384
390
return
385
391
386
- self.tblParameters.setRowCount(1)
392
+ self.clear()
387
393
try:
388
394
for row, alg in enumerate(values):
395
self.addRow()
0 commit comments