Skip to content
Permalink
Browse files
clear cached image for raster layers when applying contrast enhancement
from raster toolbar (fix #7069)
  • Loading branch information
alexbruy committed Jan 31, 2013
1 parent 7cabf62 commit f8705c3753b1588060e09074b26d119a15fb587e
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/qgisapp.cpp
@@ -6299,6 +6299,7 @@ void QgisApp::histogramStretch( bool visibleAreaOnly, QgsRasterLayer::ContrastEn

myRasterLayer->setContrastEnhancementAlgorithm( QgsContrastEnhancement::StretchToMinimumMaximum, theLimits, myRectangle );

myRasterLayer->setCacheImage( NULL );
mMapCanvas->refresh();
}

0 comments on commit f8705c3

Please sign in to comment.