Bug report #11169
toggling symbol visibility does not trigger map refresh
|Affected QGIS version:||2.4.0||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||19483|
toggling a symbol visiblity (of a rule based symbology) in the legend does not trigger the map refresh so it doesn't have any impact until you manually trigger a refresh.
#1 Updated by Martin Dobias over 5 years ago
- Status changed from Open to Feedback
I cannot replicate - if I add a layer and set its symbology to rule-based and check/uncheck a rulue, the map is refreshed. From the legend node we call clearCacheImage() which in turn emits repaintRequested(), that signals is then connected to map canvas' refresh().