We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac29c5b + 5b06de9 commit 98d8d50Copy full SHA for 98d8d50
python/plugins/fTools/tools/ftools_utils.py
@@ -343,7 +343,7 @@ def dirDialog( parent ):
343
if not fileDialog.exec_() == QDialog.Accepted:
344
return None, None
345
folders = fileDialog.selectedFiles()
346
- settings.setValue("/UI/lastShapefileDir", QVariant( QFileInfo( unicode( folders.first() ) ) ) )
+ settings.setValue("/UI/lastShapefileDir", QVariant( QFileInfo( unicode( folders.first() ) ).absolutePath() ) )
347
return ( unicode( folders.first() ), unicode( fileDialog.encoding() ) )
348
349
# Return field type from it's name
0 commit comments