Skip to content
Permalink
Browse files

Don't save raster options from properties dialog

  • Loading branch information
mhugent committed Jun 24, 2012
1 parent 60b5edb commit fd9a93cdcb37bcdc6d7bca8a9cd526c163ed62f8
Showing with 0 additions and 12 deletions.
  1. +0 −12 src/app/qgsrasterlayerproperties.cpp
@@ -585,18 +585,6 @@ void QgsRasterLayerProperties::apply()
//set whether the layer histogram should be inverted
//mRasterLayer->setInvertHistogram( cboxInvertColorMap->isChecked() );

//now set the color -> band mapping combos to the correct values
mRasterLayer->setTransparentBandName( cboxTransparencyBand->currentText() );

QSettings myQSettings;
myQSettings.setValue( "/Raster/defaultRedBand", mDefaultRedBand );
myQSettings.setValue( "/Raster/defaultGreenBand", mDefaultGreenBand );
myQSettings.setValue( "/Raster/defaultBlueBand", mDefaultBlueBand );

myQSettings.setValue( "/Raster/defaultContrastEnhancementAlgorithm", mDefaultContrastEnhancementAlgorithm );

myQSettings.setValue( "/Raster/defaultStandardDeviation", mDefaultStandardDeviation );

QgsDebugMsg( "processing transparency tab" );
/*
* Transparent Pixel Tab

0 comments on commit fd9a93c

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