mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
QgsVectorFileWriter::initMetaData(): fix DGN registration
DGN was registered twice, and the second occurence reseted the creation options
This commit is contained in:
parent
222fa767c9
commit
b1efb9a72c
@ -1330,21 +1330,6 @@ QMap<QString, QgsVectorFileWriter::MetaData> QgsVectorFileWriter::initMetaData()
|
|||||||
"" // Default value
|
"" // Default value
|
||||||
) );
|
) );
|
||||||
|
|
||||||
driverMetadata.insert( "DGN",
|
|
||||||
MetaData(
|
|
||||||
"Microstation DGN",
|
|
||||||
QObject::tr( "Microstation DGN" ),
|
|
||||||
"*.dgn",
|
|
||||||
"dgn",
|
|
||||||
datasetOptions,
|
|
||||||
layerOptions
|
|
||||||
)
|
|
||||||
);
|
|
||||||
|
|
||||||
// Microstation DGN
|
|
||||||
datasetOptions.clear();
|
|
||||||
layerOptions.clear();
|
|
||||||
|
|
||||||
driverMetadata.insert( "DGN",
|
driverMetadata.insert( "DGN",
|
||||||
MetaData(
|
MetaData(
|
||||||
"Microstation DGN",
|
"Microstation DGN",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user