[QGIS Commit] r9181 - trunk/qgis/src/app
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Wed Aug 27 03:32:27 EDT 2008
Author: jef
Date: 2008-08-27 03:32:27 -0400 (Wed, 27 Aug 2008)
New Revision: 9181
Modified:
trunk/qgis/src/app/qgsmaptoolidentify.cpp
Log:
fix attribute updates in identify tool
Modified: trunk/qgis/src/app/qgsmaptoolidentify.cpp
===================================================================
--- trunk/qgis/src/app/qgsmaptoolidentify.cpp 2008-08-27 07:30:30 UTC (rev 9180)
+++ trunk/qgis/src/app/qgsmaptoolidentify.cpp 2008-08-27 07:32:27 UTC (rev 9181)
@@ -14,7 +14,6 @@
***************************************************************************/
/* $Id$ */
-//#include "qgsattributedialog.h"
#include "qgscursors.h"
#include "qgsdistancearea.h"
#include "qgsfeature.h"
@@ -491,7 +490,7 @@
for ( QgsAttributeMap::const_iterator it = dst.begin(); it != dst.end(); it++ )
{
if ( !src.contains( it.key() ) || it.value() != src[it.key()] )
- layer->changeAttributeValue( f.featureId(), it.key(), it.value().toString() );
+ layer->changeAttributeValue( f.featureId(), it.key(), it.value() );
}
}
delete ad;
More information about the QGIS-commit
mailing list