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.
  • Loading branch information
nyalldawson committed Dec 6, 2018
1 parent d794bdb commit fd881db3626035fd8c10a846102df79da9d2d888
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 fd881db

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