Skip to content

Commit

Permalink
Merge pull request #5108 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 authored Sep 2, 2017
2 parents 474f39a + 89c38ed commit c550e82
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/composer/qgscomposernodesitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,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 c550e82

Please sign in to comment.