Skip to content

Commit

Permalink
Merge pull request #378 from slarosa/ftools_split_vector
Browse files Browse the repository at this point in the history
fix #4534
  • Loading branch information
jef-n committed Jan 12, 2013
2 parents ac29c5b + 5b06de9 commit 98d8d50
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 98d8d50

Please sign in to comment.