Skip to content

Commit

Permalink
Shape items should not have a background/frame
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 6, 2017
1 parent 7d072be commit fb8601f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/layout/qgslayoutitemshape.cpp
Expand Up @@ -23,6 +23,8 @@
QgsLayoutItemShape::QgsLayoutItemShape( QgsLayout *layout )
: QgsLayoutItem( layout )
{
setBackgroundEnabled( false );
setFrameEnabled( false );
QgsStringMap properties;
properties.insert( QStringLiteral( "color" ), QStringLiteral( "white" ) );
properties.insert( QStringLiteral( "style" ), QStringLiteral( "solid" ) );
Expand Down

0 comments on commit fb8601f

Please sign in to comment.