Skip to content
Permalink
Browse files

[layout] Fix legend item not updated when toggling filter by map content

(cherry picked from commit 9a400d7)
  • Loading branch information
nirvn authored and nyalldawson committed Sep 4, 2018
1 parent 9b764a8 commit a668ff39aa59a77b36699149d9b30c820b4505e3
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/layout/qgslayoutlegendwidget.cpp
@@ -856,6 +856,7 @@ void QgsLayoutLegendWidget::mFilterByMapToolButton_toggled( bool checked )
mLegend->beginCommand( tr( "Update Legend" ) );
mLegend->setLegendFilterByMapEnabled( checked );
mLegend->adjustBoxSize();
mLegend->update();
mLegend->endCommand();
}

0 comments on commit a668ff3

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