Skip to content

Commit

Permalink
[composer] Default to no background for new frame items
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 2, 2014
1 parent dad5d42 commit 338098c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/core/composer/qgscomposerframe.cpp
Expand Up @@ -23,6 +23,10 @@ QgsComposerFrame::QgsComposerFrame( QgsComposition* c, QgsComposerMultiFrame* mf
, mHidePageIfEmpty( false )
, mHideBackgroundIfEmpty( false )
{

//default to no background
setBackgroundEnabled( false );

//repaint frame when multiframe content changes
connect( mf, SIGNAL( contentsChanged() ), this, SLOT( repaint() ) );
if ( mf )
Expand All @@ -38,6 +42,8 @@ QgsComposerFrame::QgsComposerFrame()
, mHidePageIfEmpty( false )
, mHideBackgroundIfEmpty( false )
{
//default to no background
setBackgroundEnabled( false );
}

QgsComposerFrame::~QgsComposerFrame()
Expand Down

0 comments on commit 338098c

Please sign in to comment.