--- qgsrasterlayerproperties.cpp 2010-11-13 20:58:45.280235275 +0100 +++ qgsrasterlayerproperties.cpp.patched 2010-11-13 20:58:38.489273062 +0100 @@ -113,6 +113,15 @@ leMaximumScale->setValidator( new QDoubleValidator( 0, std::numeric_limits::max(), 1000, this ) ); leNoDataValue->setValidator( new QDoubleValidator( -std::numeric_limits::max(), std::numeric_limits::max(), 1000, this ) ); + leRedMin->setValidator( new QDoubleValidator( this ) ); + leRedMax->setValidator( new QDoubleValidator( this ) ); + leBlueMin->setValidator( new QDoubleValidator( this ) ); + leBlueMax->setValidator( new QDoubleValidator( this ) ); + leGreenMin->setValidator( new QDoubleValidator( this ) ); + leGreenMax->setValidator( new QDoubleValidator( this ) ); + leGrayMin->setValidator( new QDoubleValidator( this ) ); + leGrayMax->setValidator( new QDoubleValidator( this ) ); + // build GUI components cboxColorMap->addItem( tr( "Grayscale" ) ); cboxColorMap->addItem( tr( "Pseudocolor" ) );