Skip to content

Commit 3f4c11f

Browse files
committedApr 15, 2012
update the "invert color" checkbox status opening the raster propery dialog (fix #4423)
1 parent f8d5d43 commit 3f4c11f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/app/qgsrasterlayerproperties.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ QgsRasterLayerProperties::QgsRasterLayerProperties( QgsMapLayer* lyr, QgsMapCanv
186186
cboGray->addItem( TRSTRING_NOT_SET );
187187
cboxTransparencyBand->addItem( TRSTRING_NOT_SET );
188188

189+
cboxInvertColorMap->setChecked( mRasterLayer->invertHistogram() );
190+
189191
QIcon myPyramidPixmap( QgisApp::getThemeIcon( "/mIconPyramid.png" ) );
190192
QIcon myNoPyramidPixmap( QgisApp::getThemeIcon( "/mIconNoPyramid.png" ) );
191193

0 commit comments

Comments
 (0)