Skip to content

Commit

Permalink
[style dock] Keep factories updated
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Jun 29, 2016
1 parent b5f0fc8 commit a231466
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -9127,6 +9127,8 @@ void QgisApp::registerMapStylePanelFactory( QgsLayerStylingPanelFactory *factory
void QgisApp::unregisterMapStylePanelFactory( QgsLayerStylingPanelFactory *factory )
{
mMapStylePanelFactories.removeAll( factory );
if ( mMapStyleWidget )
mMapStyleWidget->setPageFactories( mMapStylePanelFactories );
}

/** Get a pointer to the currently selected map layer */
Expand Down

0 comments on commit a231466

Please sign in to comment.