Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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.
  • Loading branch information
nyalldawson committed Dec 6, 2018
1 parent d794bdb commit fd881db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/layout/qgslayoutitemmap.cpp
Expand Up @@ -43,6 +43,8 @@ QgsLayoutItemMap::QgsLayoutItemMap( QgsLayout *layout )

assignFreeId();

setCacheMode( QGraphicsItem::NoCache );

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

0 comments on commit fd881db

Please sign in to comment.