Skip to content

Commit

Permalink
update min/max values for singlebandgray raster renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Jan 24, 2018
1 parent cf35aff commit 9fcfafd
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 9fcfafd

Please sign in to comment.