Skip to content

Commit 72ca8d7

Browse files
authored
Merge pull request #6164 from slarosa/fix_ml_issue
update min/max values for singlebandgray raster renderer
2 parents 54cd01a + 9fcfafd commit 72ca8d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/gui/raster/qgssinglebandgrayrendererwidget.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ void QgsSingleBandGrayRendererWidget::setFromRenderer( const QgsRasterRenderer *
180180
{
181181
//band
182182
mGrayBandComboBox->setBand( gr->grayBand() );
183+
mMinMaxWidget->setBands( QList< int >() << gr->grayBand() );
183184
mGradientComboBox->setCurrentIndex( mGradientComboBox->findData( gr->gradient() ) );
184185

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

0 commit comments

Comments
 (0)