Skip to content
Permalink
Browse files

show filename in layer name when importing multiple layers from a ogr…

… datasource (implements #13756)
  • Loading branch information
jef-n committed Nov 6, 2015
1 parent 5f3954a commit f99ccf0be18820de386fc01a935d1cebbb53aad4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -3595,7 +3595,7 @@ void QgisApp::loadOGRSublayers( const QString& layertype, const QString& uri, co
QgsDebugMsg( "Creating new vector layer using " + composedURI );
QString name = list.at( i );
name.replace( ':', ' ' );
QgsVectorLayer *layer = new QgsVectorLayer( composedURI, name, "ogr", false );
QgsVectorLayer *layer = new QgsVectorLayer( composedURI, fileName + " " + name, "ogr", false );
if ( layer && layer->isValid() )
{
myList << layer;

2 comments on commit f99ccf0

@jorgealmerio

This comment has been minimized.

Copy link

@jorgealmerio jorgealmerio replied Feb 11, 2016

When this fix will be delivered? What version?

@jef-n

This comment has been minimized.

Copy link
Member Author

@jef-n jef-n replied Feb 11, 2016

It's in nightlies of master and will be in 2.14

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