Skip to content

Commit 56040c4

Browse files
authored
Merge pull request #5109 from nyalldawson/fix_17086
[composer] Fix node based items (line/polygon) ignore exclude from export setting
2 parents 4626441 + 14ce8b5 commit 56040c4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/core/composer/qgscomposernodesitem.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@ void QgsComposerNodesItem::paint( QPainter *painter,
189189
if ( !painter )
190190
return;
191191

192+
if ( !shouldDrawItem() )
193+
{
194+
return;
195+
}
196+
192197
painter->save();
193198
painter->setPen( Qt::NoPen );
194199
painter->setBrush( Qt::NoBrush );

0 commit comments

Comments
 (0)