Skip to content
Permalink
Browse files

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

  • Loading branch information
nirvn committed Sep 3, 2018
1 parent 5d3da0d commit 9a400d70e65b82cf04b733e35c4d641cdaf748c6
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 9a400d7

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