Skip to content
Permalink
Browse files

Ensure layer style dock is updated when toggling legend items through

layer tree menu

Fixes #40630

(cherry picked from commit 457d661)
  • Loading branch information
nyalldawson committed Feb 19, 2021
1 parent cb97971 commit 12ef9b5454212329170c560014821a924803bc8e
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/layertree/qgslayertreemodellegendnode.cpp
@@ -416,6 +416,7 @@ void QgsSymbolLegendNode::toggleAllItems()
}

emit dataChanged();
vlayer->emitStyleChanged();
vlayer->triggerRepaint();
}

@@ -453,6 +454,7 @@ void QgsSymbolLegendNode::checkAll( bool state )
}

emit dataChanged();
vlayer->emitStyleChanged();
vlayer->triggerRepaint();
}

0 comments on commit 12ef9b5

Please sign in to comment.