Skip to content
Permalink
Browse files

Clear cache when setting layer style overrides for canvas

Since old cache images no longer apply
  • Loading branch information
nyalldawson committed Mar 8, 2017
1 parent 74381b8 commit c9f6e11c73924da7c7aaf9397199dbe9cd61facd
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/qgsmapcanvas.cpp
@@ -1591,6 +1591,7 @@ void QgsMapCanvas::setLayerStyleOverrides( const QMap<QString, QString> &overrid
return;

mSettings.setLayerStyleOverrides( overrides );
clearCache();
emit layerStyleOverridesChanged();
}

0 comments on commit c9f6e11

Please sign in to comment.
You can’t perform that action at this time.