Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make QgsVectorFileWriter::driverMetadata also match by driver longName
  • Loading branch information
manisandro committed Jan 19, 2016
1 parent 20ca316 commit 8835658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsvectorfilewriter.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 8835658

Please sign in to comment.