Skip to content
Permalink
Browse files

fix #2264

git-svn-id: http://svn.osgeo.org/qgis/trunk@12603 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Dec 23, 2009
1 parent 44efc17 commit 2dc2034dc7152dfb384ebcbfe34de3526bbdc1e0
Showing with 6 additions and 0 deletions.
  1. +3 −0 src/app/qgsmaptoolidentify.cpp
  2. +3 −0 src/app/qgsoptions.cpp
@@ -206,6 +206,9 @@ bool QgsMapToolIdentify::identifyVectorLayer( QgsVectorLayer *layer, int x, int
double identifyValue = settings.value( "/Map/identifyRadius", QGis::DEFAULT_IDENTIFY_RADIUS ).toDouble();
QString ellipsoid = settings.value( "/qgis/measure/ellipsoid", "WGS84" ).toString();

if ( identifyValue <= 0.0 )
identifyValue = QGis::DEFAULT_IDENTIFY_RADIUS;

int featureCount = 0;
const QgsFieldMap& fields = layer->pendingFields();

@@ -59,6 +59,9 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WFlags fl ) :
cbxAutoFeatureForm->setChecked( settings.value( "/Map/identifyAutoFeatureForm", false ).toBool() );
double identifyValue = settings.value( "/Map/identifyRadius", QGis::DEFAULT_IDENTIFY_RADIUS ).toDouble();
QgsDebugMsg( QString( "Standard Identify radius setting read from settings file: %1" ).arg( identifyValue ) );
if ( identifyValue <= 0.0 )
identifyValue = QGis::DEFAULT_IDENTIFY_RADIUS;
spinBoxIdentifyValue->setMinimum( 0.01 );
spinBoxIdentifyValue->setValue( identifyValue );


0 comments on commit 2dc2034

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