Skip to content
Permalink
Browse files

follow-up 1c3f066

  • Loading branch information
alexbruy committed Jan 20, 2016
1 parent 908a380 commit 45d5b1c8753294c03124d7893a50439930e13fbc
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/app/qgisapp.cpp
@@ -3259,7 +3259,10 @@ bool QgisApp::addVectorLayers( const QStringList &theLayerQStringList, const QSt
QStringList elements = sublayers.at( 0 ).split( ':' );

Q_ASSERT( elements.size() >= 4 );
layer->setLayerName( QString( "%1 %2 %3" ).arg( layer->name(), elements.at( 1 ), elements.at( 3 ) ) );
if ( layer->name() != elements.at( 1 ) )
{
layer->setLayerName( QString( "%1 %2 %3" ).arg( layer->name(), elements.at( 1 ), elements.at( 3 ) ) );
}

myList << layer;
}

0 comments on commit 45d5b1c

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