mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -04:00
display real band number for multiband rasters when single band gray
drawing style used (patch by Bill Clay, fix #4138)
This commit is contained in:
parent
4413a7db32
commit
a6df30c99f
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user