Skip to content

Commit 0a02972

Browse files
timlinuxmach0
authored andcommitted
Applied fix for #4283
1 parent 72ecfad commit 0a02972

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/core/composer/qgscomposermap.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,11 @@ void QgsComposerMap::paint( QPainter* painter, const QStyleOptionGraphicsItem* i
357357

358358
void QgsComposerMap::updateCachedImage( void )
359359
{
360+
//If we have a locked layer set then don't reload the map canvas.
361+
if ( mKeepLayerSet )
362+
{
363+
return;
364+
}
360365
syncLayerSet(); //layer list may have changed
361366
mCacheUpdated = false;
362367
cache();

0 commit comments

Comments
 (0)