Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix #4534
  • Loading branch information
slarosa committed Jan 8, 2013
1 parent 7e29d7c commit 5b06de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/fTools/tools/ftools_utils.py
Expand Up @@ -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
Expand Down

0 comments on commit 5b06de9

Please sign in to comment.