Skip to content
Permalink
Browse files

fix #8131

  • Loading branch information
jef-n committed Jun 22, 2013
1 parent 6421cfd commit 13a86e68a9c15c072b527d31681d3e20bcb5a897
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/sextante/gui/FileSelectionPanel.py
@@ -58,14 +58,14 @@ def showSelectionDialog(self):
path = ""

if self.isFolder:
folder = QtGui.QFileDialog.getExistingDirectory (self, "Select folder", path)
folder = QtGui.QFileDialog.getExistingDirectory(self, "Select folder", path)
if folder:
self.text.setText(str(folder))
settings.setValue("/SextanteQGIS/LastInputPath", os.path.dirname(unicode(folder)))
else:
filenames = QtGui.QFileDialog.getOpenFileNames(self, "Open file", path, "*.*")
if filenames:
self.text.setText(str(filenames.join(";")))
self.text.setText(u";".join(filenames))
settings.setValue("/SextanteQGIS/LastInputPath", os.path.dirname(unicode(filenames[0])))

def getValue(self):
@@ -75,4 +75,4 @@ def getValue(self):
return s

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

0 comments on commit 13a86e6

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