Skip to content

Commit

Permalink
update the "invert color" checkbox status opening the raster propery …
Browse files Browse the repository at this point in the history
…dialog (fix #4423)
  • Loading branch information
brushtyler committed Apr 15, 2012
1 parent f8d5d43 commit 3f4c11f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/qgsrasterlayerproperties.cpp
Expand Up @@ -186,6 +186,8 @@ QgsRasterLayerProperties::QgsRasterLayerProperties( QgsMapLayer* lyr, QgsMapCanv
cboGray->addItem( TRSTRING_NOT_SET );
cboxTransparencyBand->addItem( TRSTRING_NOT_SET );

cboxInvertColorMap->setChecked( mRasterLayer->invertHistogram() );

QIcon myPyramidPixmap( QgisApp::getThemeIcon( "/mIconPyramid.png" ) );
QIcon myNoPyramidPixmap( QgisApp::getThemeIcon( "/mIconNoPyramid.png" ) );

Expand Down

0 comments on commit 3f4c11f

Please sign in to comment.