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 committed Sep 12, 2009
1 parent 925da5a commit 48266a8
Showing 1 changed file with 10 additions and 2 deletions.
@@ -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.