Skip to content
Permalink
Browse files

[composer] Ensure UI is syncronized with legend item state

  • Loading branch information
manisandro authored and nyalldawson committed Apr 13, 2014
1 parent a714a18 commit ad66af2049ae21458562e3611d4ae328a8661d04
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/composer/qgscomposerlegendwidget.cpp
@@ -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();

0 comments on commit ad66af2

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