Skip to content

Commit

Permalink
Update src/core/raster/qgsrasterattributetable.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Alessandro Pasotti <elpaso@itopen.it>
  • Loading branch information
nyalldawson and elpaso committed Nov 19, 2022
1 parent ca39536 commit 2fc245b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/raster/qgsrasterattributetable.cpp
Expand Up @@ -1286,7 +1286,7 @@ QList<QgsRasterAttributeTable::MinMaxClass> QgsRasterAttributeTable::minMaxClass
}
else
{
classificationIndex = fieldUsages.indexOf( Qgis::RasterAttributeTableFieldUsage::MinMax );
classificationIndex = minMaxIndex;
}
}
else if ( classificationIndex >= mFields.count( ) )
Expand Down

0 comments on commit 2fc245b

Please sign in to comment.