Skip to content
Permalink
Browse files
Fix perpetual rendering message on newly created maps
  • Loading branch information
nyalldawson committed May 6, 2017
1 parent baa6592 commit 2b48026
Showing 1 changed file with 5 additions and 3 deletions.
@@ -348,9 +348,11 @@ void QgsComposerMap::paint( QPainter *painter, const QStyleOptionGraphicsItem *,
painter->setFont( messageFont );
painter->setPen( QColor( 255, 255, 255, 255 ) );
painter->drawText( thisPaintRect, Qt::AlignCenter | Qt::AlignHCenter, tr( "Rendering map" ) );


cache();
if ( !mPainterJob )
{
// this is the map's very first paint - trigger a cache update
cache();
}
}
else
{

0 comments on commit 2b48026

Please sign in to comment.