Skip to content
Permalink
Browse files

add note that duplicated layers use the same data source (fixes #19489)

  • Loading branch information
jef-n committed Jul 26, 2018
1 parent 031acd0 commit f14ae4602e3f2e72bb4612714c9886ef155aeb02
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/app/qgisapp.cpp
@@ -9645,9 +9645,14 @@ void QgisApp::duplicateLayers( const QList<QgsMapLayer *> &lyrList )
messageBar()->pushMessage( errMsg,
tr( "Cannot copy style to duplicated layer." ),
Qgis::Critical, messageTimeout() );
else if ( qobject_cast<QgsVectorLayer *>( dupLayer ) )
messageBar()->pushMessage( tr( "Layer duplication complete" ),
tr( "Note that it's using the same data source." ),
Qgis::Info, messageTimeout() );

if ( !newSelection )
newSelection = dupLayer;

}

dupLayer = nullptr;

0 comments on commit f14ae46

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