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 ee55c4b commit 1254aaa0db0d42ad2eaa08a1d8a74f80076d4468
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/qgsmaplayer.cpp
@@ -84,6 +84,8 @@ QgsMapLayer::QgsMapLayer( QgsMapLayer::LayerType type,
mMinScale = 0;
mMaxScale = 100000000;
mScaleBasedVisibility = false;

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

QgsMapLayer::~QgsMapLayer()

0 comments on commit 1254aaa

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