Skip to content
Permalink
Browse files

[processing] fix extent selection in batch mode (fix #11878)

  • Loading branch information
alexbruy committed Dec 18, 2014
1 parent 69fe922 commit c800a8cd74272458b9a2965078b6dcb4b229b0c7
@@ -198,9 +198,9 @@ def fillParameterValues(self, column):
widgetValue = widget.getValue()
for row in range(1, self.tblParameters.rowCount()):
if widgetValue is not None:
self.tblParameters.cellWidget(row, column).text.setText(widgetValue)
self.tblParameters.cellWidget(row, column).setExtentFromString(widgetValue)
else:
self.tblParameters.cellWidget(row, column).text.setText('')
self.tblParameters.cellWidget(row, column).setExtentFromString('')
elif isinstance(widget, CrsSelectionPanel):
widgetValue = widget.getValue()
for row in range(1, self.tblParameters.rowCount()):
@@ -177,3 +177,6 @@ def getValue(self):
return unicode(self.leText.text())
else:
return self.getMinCoveringExtent()

def setExtentFromString(self, s):
self.leText.setText(s)
@@ -178,6 +178,7 @@ def executeAlgorithmAsBatchProcess(self):
alg = Processing.getAlgorithm(item.alg.commandLineName())
alg = alg.getCopy()
dlg = BatchAlgorithmDialog(alg)
dlg.show()
dlg.exec_()

def executeAlgorithm(self):

0 comments on commit c800a8c

Please sign in to comment.
You can’t perform that action at this time.