Skip to content

Commit

Permalink
Avoid misleading warning when duplicating memory layers
Browse files Browse the repository at this point in the history
(cherry picked from commit 7bfef96)
  • Loading branch information
nyalldawson committed Apr 6, 2020
1 parent 9d1c087 commit c434a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -10844,7 +10844,7 @@ void QgisApp::duplicateLayers( const QList<QgsMapLayer *> &lyrList )
Qgis::Critical, messageTimeout() );
else if ( qobject_cast<QgsVectorLayer *>( dupLayer ) )
visibleMessageBar()->pushMessage( tr( "Layer duplication complete" ),
tr( "Note that it's using the same data source." ),
dupLayer->providerType() != QLatin1String( "memory" ) ? tr( "Note that it's using the same data source." ) : QString(),
Qgis::Info, messageTimeout() );

if ( !newSelection )
Expand Down

0 comments on commit c434a04

Please sign in to comment.