Skip to content
Permalink
Browse files

identify results: fix right click on derived attributes

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11631 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Sep 12, 2009
1 parent 925da5a commit 48266a8678711480d6cdee4465cc94c6b522c488
Showing with 10 additions and 2 deletions.
  1. +10 −2 src/app/qgsidentifyresults.cpp
@@ -429,8 +429,16 @@ QTreeWidgetItem *QgsIdentifyResults::featureItem( QTreeWidgetItem *item )
{
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
{

0 comments on commit 48266a8

Please sign in to comment.
You can’t perform that action at this time.