We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 6ebeb97 commit bcca81bCopy full SHA for bcca81b
src/core/raster/qgsrasterlayer.cpp
@@ -1954,7 +1954,7 @@ void QgsRasterLayer::setDefaultContrastEnhancement()
1954
}
1955
else if ( mDrawingStyle == MultiBandColor )
1956
{
1957
- if ( QgsRasterBlock::typeSize( dataProvider()->srcDataType( 1 ) ) == 8 )
+ if ( QgsRasterBlock::typeSize( dataProvider()->srcDataType( 1 ) ) == 1 )
1958
1959
myKey = "multiBandSingleByte";
1960
myDefault = "NoEnhancement";
0 commit comments