Skip to content
Permalink
Browse files

display real band number for multiband rasters when single band gray

drawing style used (patch by Bill Clay, fix #4138)
  • Loading branch information
alexbruy committed Jan 15, 2012
1 parent 2d71b70 commit cf41e6c0343091b4c7fadcae21e1792f25bdabd3
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/qgsrasterlayerproperties.cpp
@@ -737,6 +737,7 @@ void QgsRasterLayerProperties::sync()
cboRed->setCurrentIndex( cboRed->findText( mRasterLayer->redBandName() ) );
cboGreen->setCurrentIndex( cboGreen->findText( mRasterLayer->greenBandName() ) );
cboBlue->setCurrentIndex( cboBlue->findText( mRasterLayer->blueBandName() ) );
cboGray->setCurrentIndex( cboGray->findText( mRasterLayer->grayBandName() ) );

//Display the current default contrast enhancement algorithm
mDefaultContrastEnhancementAlgorithm = myQSettings.value( "/Raster/defaultContrastEnhancementAlgorithm", "NoEnhancement" ).toString();

0 comments on commit cf41e6c

Please sign in to comment.
You can’t perform that action at this time.