Skip to content

Commit ad66af2

Browse files
manisandronyalldawson
authored andcommitted
[composer] Ensure UI is syncronized with legend item state
1 parent a714a18 commit ad66af2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/composer/qgscomposerlegendwidget.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ QgsComposerLegendWidget::QgsComposerLegendWidget( QgsComposerLegend* legend ): m
125125
{
126126
legend->model()->setHorizontalHeaderLabels( QStringList() << tr( "Item" ) << tr( "Title style" ) );
127127
mItemTreeView->setModel( legend->model() );
128+
connect( legend, SIGNAL( itemChanged() ), this, SLOT( setGuiElements() ) );
128129
}
129130

130131
QgsComposerLegendWidgetStyleDelegate* styleDelegate = new QgsComposerLegendWidgetStyleDelegate();

0 commit comments

Comments
 (0)