Skip to content
Permalink
Browse files
fix #4534
  • Loading branch information
slarosa committed Jan 8, 2013
1 parent 7e29d7c commit 5b06de99353d089f3042ddc6f3914df9e3e7dbaf
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/fTools/tools/ftools_utils.py
@@ -343,7 +343,7 @@ def dirDialog( parent ):
if not fileDialog.exec_() == QDialog.Accepted:
return None, None
folders = fileDialog.selectedFiles()
settings.setValue("/UI/lastShapefileDir", QVariant( QFileInfo( unicode( folders.first() ) ) ) )
settings.setValue("/UI/lastShapefileDir", QVariant( QFileInfo( unicode( folders.first() ) ).absolutePath() ) )
return ( unicode( folders.first() ), unicode( fileDialog.encoding() ) )

# Return field type from it's name

0 comments on commit 5b06de9

Please sign in to comment.