Skip to content
Permalink
Browse files

QgsMapLayerRegistry::removeMapLayers don't emit signals when empty

Fix #15088
  • Loading branch information
m-kuhn committed Jun 26, 2016
1 parent f193c4e commit 4b0df5bc5b71523ad35db050c57ca3c04c2b6d1e
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/qgsmaplayerregistry.cpp
@@ -127,6 +127,9 @@ void QgsMapLayerRegistry::removeMapLayers( const QStringList& theLayerIds )

void QgsMapLayerRegistry::removeMapLayers( const QList<QgsMapLayer*>& layers )
{
if ( layers.isEmpty() )
return;

QStringList layerIds;

Q_FOREACH ( QgsMapLayer* layer, layers )

0 comments on commit 4b0df5b

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