Skip to content
Browse files
Make modifications through the style dock much faster
Before any change in the style dock would invalidate the cache
for ALL map layers, resulting in every layer being redrawn.

Now only the affected layer is redrawn and all others just use
the cached render.
  • Loading branch information
nyalldawson committed Oct 6, 2016
1 parent 9a9df32 commit c6436f897129829647e79654bdc8530367c5de62
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/app/qgslayerstylingwidget.cpp
@@ -268,8 +268,7 @@ void QgsLayerStylingWidget::apply()
emit styleChanged( mCurrentLayer );
QgsProject::instance()->setDirty( true );
connect( mCurrentLayer, SIGNAL( styleChanged() ), this, SLOT( updateCurrentWidgetLayer() ) );

1 comment on commit c6436f8


This comment has been minimized.

Copy link

@NathanW2 NathanW2 commented on c6436f8 Oct 6, 2016

Thanks loads for this fix. Bit annoyed that I didn't see it myself before 2.16.

Please sign in to comment.