mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Hide extra encoding option from the vector "save as" dialog
There is already another combo box for encoding selection.
This commit is contained in:
parent
5512d5443f
commit
a618f85a96
@ -687,6 +687,9 @@ QMap<QString, QgsVectorFileWriter::MetaData> QgsVectorFileWriter::initMetaData()
|
||||
true // Allow None
|
||||
) );
|
||||
|
||||
// there does not seem to be a reason to provide this option to the user again
|
||||
// as we set encoding for shapefiles based on "fileEncoding" parameter passed to the writer
|
||||
#if 0
|
||||
layerOptions.insert( "ENCODING", new SetOption(
|
||||
QObject::tr( "set the encoding value in the DBF file. "
|
||||
"The default value is LDID/87. It is not clear "
|
||||
@ -695,6 +698,7 @@ QMap<QString, QgsVectorFileWriter::MetaData> QgsVectorFileWriter::initMetaData()
|
||||
<< "LDID/87",
|
||||
"LDID/87" // Default value
|
||||
) );
|
||||
#endif
|
||||
|
||||
layerOptions.insert( "RESIZE", new BoolOption(
|
||||
QObject::tr( "Set to YES to resize fields to their optimal size." ),
|
||||
|
Loading…
x
Reference in New Issue
Block a user