Skip to content

Commit

Permalink
[layout] Fix legend item not updated when toggling filter by map content
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Sep 3, 2018
1 parent 5d3da0d commit 9a400d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/layout/qgslayoutlegendwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,7 @@ void QgsLayoutLegendWidget::mFilterByMapToolButton_toggled( bool checked )
mLegend->beginCommand( tr( "Update Legend" ) );
mLegend->setLegendFilterByMapEnabled( checked );
mLegend->adjustBoxSize();
mLegend->update();
mLegend->endCommand();
}

Expand Down

0 comments on commit 9a400d7

Please sign in to comment.