Skip to content

Commit a231466

Browse files
committed
[style dock] Keep factories updated
1 parent b5f0fc8 commit a231466

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app/qgisapp.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9127,6 +9127,8 @@ void QgisApp::registerMapStylePanelFactory( QgsLayerStylingPanelFactory *factory
91279127
void QgisApp::unregisterMapStylePanelFactory( QgsLayerStylingPanelFactory *factory )
91289128
{
91299129
mMapStylePanelFactories.removeAll( factory );
9130+
if ( mMapStyleWidget )
9131+
mMapStyleWidget->setPageFactories( mMapStylePanelFactories );
91309132
}
91319133

91329134
/** Get a pointer to the currently selected map layer */

0 commit comments

Comments
 (0)