Skip to content

Commit 5c7dfae

Browse files
author
jef
committed
fix attribute updates in identify tool
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9181 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 203f0e5 commit 5c7dfae

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/app/qgsmaptoolidentify.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
***************************************************************************/
1515
/* $Id$ */
1616

17-
//#include "qgsattributedialog.h"
1817
#include "qgscursors.h"
1918
#include "qgsdistancearea.h"
2019
#include "qgsfeature.h"
@@ -491,7 +490,7 @@ void QgsMapToolIdentify::editFeature( QgsFeature &f )
491490
for ( QgsAttributeMap::const_iterator it = dst.begin(); it != dst.end(); it++ )
492491
{
493492
if ( !src.contains( it.key() ) || it.value() != src[it.key()] )
494-
layer->changeAttributeValue( f.featureId(), it.key(), it.value().toString() );
493+
layer->changeAttributeValue( f.featureId(), it.key(), it.value() );
495494
}
496495
}
497496
delete ad;

0 commit comments

Comments
 (0)