Skip to content
Permalink
Browse files

Fix composer map frame/annotations not showing on OSX (refs #12747)

  • Loading branch information
nyalldawson committed May 28, 2015
1 parent 5386a23 commit effbfcd5cbeb4f2971875abe6f5473501759d7c6
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/core/composer/qgscomposermapgrid.cpp
@@ -667,7 +667,14 @@ void QgsComposerMapGrid::draw( QPainter* p )
}

p->restore();

//QPainter::setClipping(false) seems to be broken on OSX (#12747), setClipRect
//fails on other platforms...
#ifndef Q_OS_MAC
p->setClipping( false );
#else
p->setClipRect( thisPaintRect, Qt::NoClip );
#endif

if ( mGridFrameStyle != QgsComposerMapGrid::NoFrame )
{

0 comments on commit effbfcd

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