Skip to content

Commit

Permalink
[composer] Ensure UI is syncronized with legend item state
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro authored and nyalldawson committed Apr 13, 2014
1 parent a714a18 commit ad66af2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/composer/qgscomposerlegendwidget.cpp
Expand Up @@ -125,6 +125,7 @@ QgsComposerLegendWidget::QgsComposerLegendWidget( QgsComposerLegend* legend ): m
{
legend->model()->setHorizontalHeaderLabels( QStringList() << tr( "Item" ) << tr( "Title style" ) );
mItemTreeView->setModel( legend->model() );
connect( legend, SIGNAL( itemChanged() ), this, SLOT( setGuiElements() ) );
}

QgsComposerLegendWidgetStyleDelegate* styleDelegate = new QgsComposerLegendWidgetStyleDelegate();
Expand Down

0 comments on commit ad66af2

Please sign in to comment.