Skip to content

Commit 9a400d7

Browse files
committed
[layout] Fix legend item not updated when toggling filter by map content
1 parent 5d3da0d commit 9a400d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/layout/qgslayoutlegendwidget.cpp

+1
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)