mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
fix #4534
This commit is contained in:
parent
7e29d7ced1
commit
5b06de9935
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user