fix action's current attribute

git-svn-id: http://svn.osgeo.org/qgis/trunk@11601 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
jef 2009-09-09 06:57:19 +00:00
parent b6f50901fa
commit 89f56ae281

View File

@ -360,7 +360,6 @@ void QgsIdentifyResults::doAction( QTreeWidgetItem *item, int action )
{
QString fieldName = item->data( 0, Qt::DisplayRole ).toString();
int idx = -1;
for ( QgsFieldMap::const_iterator it = layer->pendingFields().begin(); it != layer->pendingFields().end(); it++ )
{
if ( it->name() == fieldName )