Skip to content
Permalink
Browse files
fixes #6228 (I think definitely)
  • Loading branch information
slarosa committed Dec 2, 2012
1 parent 5cf1c77 commit 871d4e846b75866d99ff86096b609537d376aa06
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 871d4e8

Please sign in to comment.