Skip to content
Permalink
Browse files

[layouts] Avoid temporary rendering artefacts when grid properties ch…

…ange

There's no need for the Qt item caching here, as map items have
their own internal cache handling.

(cherry picked from commit fd881db)
  • Loading branch information
nyalldawson committed Dec 6, 2018
1 parent 933df66 commit b57927f55140ada1bf5187c733666c17e4ed548b
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/layout/qgslayoutitemmap.cpp
@@ -43,6 +43,8 @@ QgsLayoutItemMap::QgsLayoutItemMap( QgsLayout *layout )

assignFreeId();

setCacheMode( QGraphicsItem::NoCache );

connect( this, &QgsLayoutItem::sizePositionChanged, this, [ = ]
{
shapeChanged();

0 comments on commit b57927f

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