Skip to content

Commit fd9a93c

Browse files
committed
Don't save raster options from properties dialog
1 parent 60b5edb commit fd9a93c

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/app/qgsrasterlayerproperties.cpp

-12
Original file line numberDiff line numberDiff line change
@@ -585,18 +585,6 @@ void QgsRasterLayerProperties::apply()
585585
//set whether the layer histogram should be inverted
586586
//mRasterLayer->setInvertHistogram( cboxInvertColorMap->isChecked() );
587587

588-
//now set the color -> band mapping combos to the correct values
589-
mRasterLayer->setTransparentBandName( cboxTransparencyBand->currentText() );
590-
591-
QSettings myQSettings;
592-
myQSettings.setValue( "/Raster/defaultRedBand", mDefaultRedBand );
593-
myQSettings.setValue( "/Raster/defaultGreenBand", mDefaultGreenBand );
594-
myQSettings.setValue( "/Raster/defaultBlueBand", mDefaultBlueBand );
595-
596-
myQSettings.setValue( "/Raster/defaultContrastEnhancementAlgorithm", mDefaultContrastEnhancementAlgorithm );
597-
598-
myQSettings.setValue( "/Raster/defaultStandardDeviation", mDefaultStandardDeviation );
599-
600588
QgsDebugMsg( "processing transparency tab" );
601589
/*
602590
* Transparent Pixel Tab

0 commit comments

Comments
 (0)