-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qgisapp: Update raster layer style when render details have changed
`QgsRasterLayer` updates the GUI (the renderer widget and the legend) when the rendered values are updated. This does not work when multiple canvas are displayed because each canvas causes a renderer update. This issue is fixed by removing the GUI update from the raster layer code. With this change, when the rendered values are updated, these statistics are propagated to the canvas by the use of a `QgsRenderedItemDetails`: `QgsRenderedCalculatedResults`. Then, only the main canvas is notified of this change and updates the GUI accordingly.
- Loading branch information
Showing
3 changed files
with
40 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters