Skip to content

Commit a668ff3

Browse files
nirvnnyalldawson
authored andcommittedSep 4, 2018
[layout] Fix legend item not updated when toggling filter by map content
(cherry picked from commit 9a400d7)
1 parent 9b764a8 commit a668ff3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/app/layout/qgslayoutlegendwidget.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -856,6 +856,7 @@ void QgsLayoutLegendWidget::mFilterByMapToolButton_toggled( bool checked )
856856
mLegend->beginCommand( tr( "Update Legend" ) );
857857
mLegend->setLegendFilterByMapEnabled( checked );
858858
mLegend->adjustBoxSize();
859+
mLegend->update();
859860
mLegend->endCommand();
860861
}
861862

0 commit comments

Comments
 (0)
Please sign in to comment.