Skip to content

Commit

Permalink
Also reset Invert colors box with others
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and nyalldawson committed Sep 4, 2021
1 parent 9ce295e commit 98a902b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/raster/qgsrasterlayerproperties.cpp
Expand Up @@ -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()
Expand Down
1 change: 1 addition & 0 deletions src/gui/raster/qgsrendererrasterpropertieswidget.cpp
Expand Up @@ -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 )
Expand Down

0 comments on commit 98a902b

Please sign in to comment.