Skip to content
Permalink
Browse files

[composer] Default to no background for new frame items

  • Loading branch information
nyalldawson committed Oct 2, 2014
1 parent dad5d42 commit 338098c1e1d6e5fb6eaae724a164ac5cf11fe888
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/core/composer/qgscomposerframe.cpp
@@ -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 )
@@ -38,6 +42,8 @@ QgsComposerFrame::QgsComposerFrame()
, mHidePageIfEmpty( false )
, mHideBackgroundIfEmpty( false )
{
//default to no background
setBackgroundEnabled( false );
}

QgsComposerFrame::~QgsComposerFrame()

0 comments on commit 338098c

Please sign in to comment.
You can’t perform that action at this time.