Skip to content

Commit 98d8d50

Browse files
committed
Merge pull request #378 from slarosa/ftools_split_vector
fix #4534
2 parents ac29c5b + 5b06de9 commit 98d8d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/fTools/tools/ftools_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ def dirDialog( parent ):
343343
if not fileDialog.exec_() == QDialog.Accepted:
344344
return None, None
345345
folders = fileDialog.selectedFiles()
346-
settings.setValue("/UI/lastShapefileDir", QVariant( QFileInfo( unicode( folders.first() ) ) ) )
346+
settings.setValue("/UI/lastShapefileDir", QVariant( QFileInfo( unicode( folders.first() ) ).absolutePath() ) )
347347
return ( unicode( folders.first() ), unicode( fileDialog.encoding() ) )
348348

349349
# Return field type from it's name

0 commit comments

Comments
 (0)