Skip to content

Commit

Permalink
Merge pull request #6164 from slarosa/fix_ml_issue
Browse files Browse the repository at this point in the history
update min/max values for singlebandgray raster renderer
  • Loading branch information
slarosa committed Jan 27, 2018
2 parents 54cd01a + 9fcfafd commit 72ca8d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/raster/qgssinglebandgrayrendererwidget.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit 72ca8d7

Please sign in to comment.