Skip to content

Commit

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

Please sign in to comment.