Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] fixed issue with non-visible outputs in batch processign…
… interface
  • Loading branch information
volaya committed Sep 15, 2013
1 parent 17323dd commit fe02237
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/plugins/processing/gui/BatchProcessingDialog.py
Expand Up @@ -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:
Expand Down Expand Up @@ -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"))
Expand Down

0 comments on commit fe02237

Please sign in to comment.