[QGIS Commit] r14859 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Dec 7 14:05:21 EST 2010


Author: jef
Date: 2010-12-07 11:05:21 -0800 (Tue, 07 Dec 2010)
New Revision: 14859

Modified:
   trunk/qgis/src/app/qgsidentifyresults.cpp
Log:
fix identify result update after attribute change

Modified: trunk/qgis/src/app/qgsidentifyresults.cpp
===================================================================
--- trunk/qgis/src/app/qgsidentifyresults.cpp	2010-12-07 16:25:00 UTC (rev 14858)
+++ trunk/qgis/src/app/qgsidentifyresults.cpp	2010-12-07 19:05:21 UTC (rev 14859)
@@ -774,7 +774,7 @@
         if ( item->childCount() > 0 )
           continue;
 
-        if ( item->data( 0, Qt::UserRole ).toInt() == idx )
+        if ( item->data( 0, Qt::UserRole + 1 ).toInt() == idx )
         {
           item->setData( 1, Qt::DisplayRole, val );
           return;



More information about the QGIS-commit mailing list