Skip to content
Permalink
Browse files
Merge pull request #348 from slarosa/sextante-issue
fixes #6228 (slarosa think definitely, and so do I :))
  • Loading branch information
brushtyler committed Dec 2, 2012
2 parents 5cf1c77 + 871d4e8 commit 5e8e4ae375b36dce9e6193988c11a8d961e3a9ba
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/sextante/gui/OutputSelectionPanel.py
@@ -89,10 +89,10 @@ def saveToFile(self):
fileDialog.setAcceptMode(QFileDialog.AcceptSave)
fileDialog.setConfirmOverwrite(True)
if fileDialog.exec_() == QDialog.Accepted:
filename = fileDialog.selectedFiles().first()
encoding = fileDialog.encoding()
files = fileDialog.selectedFiles()
encoding = unicode(fileDialog.encoding())
self.output.encoding = encoding
filename= unicode(filename);
filename= unicode(files.first())
self.text.setText(filename)
settings.setValue("/SextanteQGIS/LastOutputPath", os.path.dirname(str(filename)))
settings.setValue("/SextanteQGIS/encoding", encoding)

0 comments on commit 5e8e4ae

Please sign in to comment.