Skip to content

Commit

Permalink
[sextante] better behaviour in batch processing interface
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Mar 15, 2013
1 parent 40ad11d commit 3703910
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 5 additions & 2 deletions python/plugins/sextante/gui/BatchProcessingDialog.py
Expand Up @@ -105,8 +105,11 @@ def headerDoubleClicked(self, col):
elif isinstance(widget, CrsSelectionPanel):
widgetValue = widget.getValue()
for row in range(1, self.table.rowCount()):
self.table.cellWidget(row, col).epsg = widgetValue
self.table.cellWidget(row, col).setText()
self.table.cellWidget(row, col).setAuthid(widgetValue)
elif isinstance(widget, FileSelectionPanel):
widgetValue = widget.getValue()
for row in range(1, self.table.rowCount()):
self.table.cellWidget(row, col).setText(widgetValue)
elif isinstance(widget, QtGui.QLineEdit):
widgetValue = widget.text()
for row in range(1, self.table.rowCount()):
Expand Down
3 changes: 3 additions & 0 deletions python/plugins/sextante/gui/FileSelectionPanel.py
Expand Up @@ -73,3 +73,6 @@ def getValue(self):
if SextanteUtils.isWindows():
s = s.replace("\\", "/")
return s

def setText(self, text):
self.text.setText(text)

0 comments on commit 3703910

Please sign in to comment.