Skip to content
Permalink
Browse files

update min/max values for singlebandgray raster renderer

  • Loading branch information
slarosa committed Jan 24, 2018
1 parent cf35aff commit 9fcfafdfdad93f2526922dc578a233289114d1ee
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 9fcfafd

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