Skip to content

Commit 4af91c4

Browse files
committedMar 14, 2013
save used contrast enhancement algorithm in private class member (follow up 5ecb268)
1 parent fac2bd7 commit 4af91c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/core/raster/qgsrasterlayer.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1771,6 +1771,8 @@ void QgsRasterLayer::setContrastEnhancementAlgorithm( QgsContrastEnhancement::Co
17711771
return;
17721772
}
17731773

1774+
mContrastEnhancementAlgorithm = theAlgorithm;
1775+
17741776
QList<int> myBands;
17751777
QList<QgsContrastEnhancement*> myEnhancements;
17761778
QgsSingleBandGrayRenderer* myGrayRenderer = 0;

0 commit comments

Comments
 (0)
Please sign in to comment.