Skip to content

Commit 237ac8f

Browse files
author
mhugent
committedNov 13, 2010
Patch from Volker Froehlich. Fixes ticket #2252
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14618 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
 

‎src/app/qgsrasterlayerproperties.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,15 @@ QgsRasterLayerProperties::QgsRasterLayerProperties( QgsMapLayer* lyr, QgsMapCanv
113113
leMaximumScale->setValidator( new QDoubleValidator( 0, std::numeric_limits<float>::max(), 1000, this ) );
114114
leNoDataValue->setValidator( new QDoubleValidator( -std::numeric_limits<float>::max(), std::numeric_limits<float>::max(), 1000, this ) );
115115

116+
leRedMin->setValidator( new QDoubleValidator( this ) );
117+
leRedMax->setValidator( new QDoubleValidator( this ) );
118+
leBlueMin->setValidator( new QDoubleValidator( this ) );
119+
leBlueMax->setValidator( new QDoubleValidator( this ) );
120+
leGreenMin->setValidator( new QDoubleValidator( this ) );
121+
leGreenMax->setValidator( new QDoubleValidator( this ) );
122+
leGrayMin->setValidator( new QDoubleValidator( this ) );
123+
leGrayMax->setValidator( new QDoubleValidator( this ) );
124+
116125
// build GUI components
117126
cboxColorMap->addItem( tr( "Grayscale" ) );
118127
cboxColorMap->addItem( tr( "Pseudocolor" ) );

0 commit comments

Comments
 (0)
Please sign in to comment.