Skip to content
Permalink
Browse files

Make QgsVectorFileWriter::driverMetadata also match by driver longName

  • Loading branch information
manisandro committed Oct 15, 2015
1 parent 20ca316 commit 88356587069856b96f7f752629c83f55374e0306
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsvectorfilewriter.cpp
@@ -1606,7 +1606,7 @@ bool QgsVectorFileWriter::driverMetadata( const QString& driverName, QgsVectorFi

for ( ; it != sDriverMetadata.constEnd(); ++it )
{
if ( it.key().startsWith( driverName ) )
if ( it.key().startsWith( driverName ) || it.value().longName.startsWith( driverName ) )
{
driverMetadata = it.value();
return true;

0 comments on commit 8835658

Please sign in to comment.
You can’t perform that action at this time.