Skip to content

Commit

Permalink
fix #15947 style dock is not refreshed when map layer style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Dec 9, 2016
1 parent ee55c4b commit 1254aaa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/qgsmaplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ QgsMapLayer::QgsMapLayer( QgsMapLayer::LayerType type,
mMinScale = 0;
mMaxScale = 100000000;
mScaleBasedVisibility = false;

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

QgsMapLayer::~QgsMapLayer()
Expand Down

0 comments on commit 1254aaa

Please sign in to comment.