We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 031acd0 commit f14ae46Copy full SHA for f14ae46
src/app/qgisapp.cpp
@@ -9645,9 +9645,14 @@ void QgisApp::duplicateLayers( const QList<QgsMapLayer *> &lyrList )
9645
messageBar()->pushMessage( errMsg,
9646
tr( "Cannot copy style to duplicated layer." ),
9647
Qgis::Critical, messageTimeout() );
9648
+ else if ( qobject_cast<QgsVectorLayer *>( dupLayer ) )
9649
+ messageBar()->pushMessage( tr( "Layer duplication complete" ),
9650
+ tr( "Note that it's using the same data source." ),
9651
+ Qgis::Info, messageTimeout() );
9652
9653
if ( !newSelection )
9654
newSelection = dupLayer;
9655
+
9656
}
9657
9658
dupLayer = nullptr;
0 commit comments