Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raster layer properties: fix renderer widget that was reset, and fix …
…wrong behaviour on cancel. 2 issues : - when opening the raster layer properties dialog, it used to reset the min/max value to custom values, due to a bad interaction with a recent change in the histogram code (likely introduced in 4f3cf68) - when closing the raster layer properties dialog on a multiband renderer in updated extent mode for example, it got result to whole raster statistics due to QgsRasterLayerProperties::setRendererWidget() reseting stuff. Honestly the code in that method that changes value in the renderer object seems to be completely inappropriate for a method that you would expect to only affects GUI/widgets.
- Loading branch information
Showing with 14 additions and 18 deletions.