Skip to content

Commit

Permalink
Merge pull request #5109 from nyalldawson/fix_17086
Browse files Browse the repository at this point in the history
[composer] Fix node based items (line/polygon) ignore exclude from export setting
  • Loading branch information
nyalldawson committed Sep 2, 2017
2 parents 4626441 + 14ce8b5 commit 56040c4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/composer/qgscomposernodesitem.cpp
Expand Up @@ -189,6 +189,11 @@ void QgsComposerNodesItem::paint( QPainter *painter,
if ( !painter )
return;

if ( !shouldDrawItem() )
{
return;
}

painter->save();
painter->setPen( Qt::NoPen );
painter->setBrush( Qt::NoBrush );
Expand Down

0 comments on commit 56040c4

Please sign in to comment.