Skip to content
Permalink
Browse files
fix attribute updates in identify tool
git-svn-id: http://svn.osgeo.org/qgis/trunk@9181 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 27, 2008
1 parent c4c4cc2 commit eef7c976d0a6b9153679691a0f611bf628e2735b
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/app/qgsmaptoolidentify.cpp
@@ -14,7 +14,6 @@
***************************************************************************/
/* $Id$ */

//#include "qgsattributedialog.h"
#include "qgscursors.h"
#include "qgsdistancearea.h"
#include "qgsfeature.h"
@@ -491,7 +490,7 @@ void QgsMapToolIdentify::editFeature( QgsFeature &f )
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;

0 comments on commit eef7c97

Please sign in to comment.