Skip to content
Permalink
Browse files
Also reset Invert colors box with others
  • Loading branch information
DelazJ authored and nyalldawson committed Sep 4, 2021
1 parent 9ce295e commit 98a902b0837100a1600334a9d927acbfd6e3a30b
@@ -2144,6 +2144,7 @@ void QgsRasterLayerProperties::mResetColorRenderingBtn_clicked()
comboGrayscale->setCurrentIndex( ( int ) QgsHueSaturationFilter::GrayscaleOff );
mColorizeCheck->setChecked( false );
sliderColorizeStrength->setValue( 100 );
mInvertColorsCheck->setChecked( false );
}

bool QgsRasterLayerProperties::rasterIsMultiBandColor()
@@ -242,6 +242,7 @@ void QgsRendererRasterPropertiesWidget::mResetColorRenderingBtn_clicked()
comboGrayscale->setCurrentIndex( ( int ) QgsHueSaturationFilter::GrayscaleOff );
mColorizeCheck->setChecked( false );
sliderColorizeStrength->setValue( 100 );
mInvertColorsCheck->setChecked( false );
}

void QgsRendererRasterPropertiesWidget::toggleSaturationControls( int grayscaleMode )

0 comments on commit 98a902b

Please sign in to comment.