Navigation Menu

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 7722f88 commit 2eaa0b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/qgsmaplayer.cpp
Expand Up @@ -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()
Expand Down

0 comments on commit 2eaa0b7

Please sign in to comment.