Skip to content
Permalink
Browse files

Merge pull request #6164 from slarosa/fix_ml_issue

update min/max values for singlebandgray raster renderer
  • Loading branch information
slarosa committed Jan 27, 2018
2 parents 54cd01a + 9fcfafd commit 72ca8d7b9cc57725af03a17e534552c76923b2a2
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/raster/qgssinglebandgrayrendererwidget.cpp
@@ -180,6 +180,7 @@ void QgsSingleBandGrayRendererWidget::setFromRenderer( const QgsRasterRenderer *
{
//band
mGrayBandComboBox->setBand( gr->grayBand() );
mMinMaxWidget->setBands( QList< int >() << gr->grayBand() );
mGradientComboBox->setCurrentIndex( mGradientComboBox->findData( gr->gradient() ) );

const QgsContrastEnhancement *ce = gr->contrastEnhancement();

0 comments on commit 72ca8d7

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