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
(cherry picked from commit 9a400d7)
  • Loading branch information
nirvn authored and nyalldawson committed Sep 4, 2018
1 parent 9b764a8 commit a668ff3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/layout/qgslayoutlegendwidget.cpp
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 a668ff3

Please sign in to comment.