Skip to content

Commit

Permalink
identify results: fix right click on derived attributes
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11631 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Sep 12, 2009
1 parent 925da5a commit 48266a8
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/app/qgsidentifyresults.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 48266a8

Please sign in to comment.