Skip to content

Commit 505fe5b

Browse files
marcoalexbruy
marco
authored andcommitted
Ticket #4035
1 parent 53337e2 commit 505fe5b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/app/composer/qgscomposershapewidget.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ QgsComposerShapeWidget::QgsComposerShapeWidget( QgsComposerShape* composerShape
3939

4040
blockAllSignals( false );
4141

42-
connect( mShapeComboBox, SIGNAL( currentIndexChanged( int ) ), this, SLOT( setGuiElementValues() ) );
42+
if ( mComposerShape )
43+
{
44+
connect( mComposerShape, SIGNAL( itemChanged() ), this, SLOT( setGuiElementValues() ) );
45+
}
4346
}
4447

4548
QgsComposerShapeWidget::~QgsComposerShapeWidget()

0 commit comments

Comments
 (0)