Skip to content
Permalink
Browse files

fix #15947 style dock is not refreshed when map layer style changes

  • Loading branch information
3nids committed Dec 9, 2016
1 parent 7722f88 commit 2eaa0b7aaaf2d0b9ce1792273e7cd39b0040ebac
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/qgsmaplayer.cpp
@@ -86,6 +86,8 @@ QgsMapLayer::QgsMapLayer( QgsMapLayer::LayerType type,
mScaleBasedVisibility = false;

connect( this, SIGNAL( nameChanged() ), this, SIGNAL( layerNameChanged() ) );

connect( mStyleManager, &QgsMapLayerStyleManager::currentStyleChanged, this, &QgsMapLayer::styleChanged );
}

QgsMapLayer::~QgsMapLayer()

0 comments on commit 2eaa0b7

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