Skip to content
Permalink
Browse files
[processing] fixed issue with non-visible outputs in batch processign…
… interface
  • Loading branch information
volaya committed Sep 15, 2013
1 parent 17323dd commit fe02237829fca595caf21b5b394b632d0010b277
Showing with 4 additions and 4 deletions.
  1. +4 −4 python/plugins/processing/gui/BatchProcessingDialog.py
@@ -57,7 +57,6 @@ def __init__(self, alg):
self.table = QtGui.QTableWidget(None)
AlgorithmExecutionDialog.__init__(self, alg, self.table)
self.setWindowModality(1)
self.algEx = None
self.resize(800, 500)
self.setWindowTitle("Batch Processing - " + self.alg.name)
for param in self.alg.parameters:
@@ -129,9 +128,10 @@ def setTableContent(self):
self.table.setColumnHidden(i, not self.showAdvanced)
i+=1
for out in self.alg.outputs:
self.table.setColumnWidth(i,250)
self.table.setHorizontalHeaderItem(i, QtGui.QTableWidgetItem(out.description))
i+=1
if not out.visible:
self.table.setColumnWidth(i,250)
self.table.setHorizontalHeaderItem(i, QtGui.QTableWidgetItem(out.description))
i+=1

self.table.setColumnWidth(i, 200)
self.table.setHorizontalHeaderItem(i, QtGui.QTableWidgetItem("Load in QGIS"))

0 comments on commit fe02237

Please sign in to comment.