We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
2 parents 07240e3 + 7431ec6 commit 0c0d72bCopy full SHA for 0c0d72b
src/app/qgisapp.cpp
@@ -7886,16 +7886,6 @@ void QgisApp::duplicateLayers( const QList<QgsMapLayer *>& lyrList )
7886
messageBar()->pushMessage( errMsg,
7887
tr( "Cannot copy style to duplicated layer." ),
7888
QgsMessageBar::CRITICAL, messageTimeout() );
7889
-
7890
- QgsVectorLayer* vLayer = dynamic_cast<QgsVectorLayer*>( selectedLyr );
7891
- QgsVectorLayer* vDupLayer = dynamic_cast<QgsVectorLayer*>( dupLayer );
7892
- if ( vLayer && vDupLayer )
7893
- {
7894
- Q_FOREACH ( const QgsVectorJoinInfo& join, vLayer->vectorJoins() )
7895
7896
- vDupLayer->addJoin( join );
7897
- }
7898
7899
}
7900
7901
dupLayer = nullptr;
0 commit comments