[QGIS Commit] r11631 - trunk/qgis/src/app
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Fri Sep 11 20:21:05 EDT 2009
Author: jef
Date: 2009-09-11 20:21:04 -0400 (Fri, 11 Sep 2009)
New Revision: 11631
Modified:
trunk/qgis/src/app/qgsidentifyresults.cpp
Log:
identify results: fix right click on derived attributes
Modified: trunk/qgis/src/app/qgsidentifyresults.cpp
===================================================================
--- trunk/qgis/src/app/qgsidentifyresults.cpp 2009-09-11 23:12:25 UTC (rev 11630)
+++ trunk/qgis/src/app/qgsidentifyresults.cpp 2009-09-12 00:21:04 UTC (rev 11631)
@@ -429,8 +429,16 @@
{
if ( item->parent()->parent() )
{
- // attribute item
- featItem = item->parent();
+ if ( item->parent()->parent()->parent() )
+ {
+ // derived attribute item
+ featItem = item->parent()->parent();
+ }
+ else
+ {
+ // attribute item
+ featItem = item->parent();
+ }
}
else
{
More information about the QGIS-commit
mailing list