Skip to content

Commit

Permalink
fix #2263
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12409 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Dec 11, 2009
1 parent c64d737 commit 14a9b1e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app/qgsidentifyresults.cpp
Expand Up @@ -612,7 +612,7 @@ void QgsIdentifyResults::layerDestroyed()

if ( lstResults->topLevelItemCount() == 0 )
{
hide();
close();
}
}

Expand Down Expand Up @@ -649,6 +649,7 @@ void QgsIdentifyResults::featureDeleted( int fid )
if ( featItem && featItem->data( 0, Qt::UserRole ).toInt() == fid )
{
delete mRubberBands.take( featItem );
delete featItem;
break;
}
}
Expand All @@ -660,7 +661,7 @@ void QgsIdentifyResults::featureDeleted( int fid )

if ( lstResults->topLevelItemCount() == 0 )
{
hide();
close();
}
}

Expand Down

0 comments on commit 14a9b1e

Please sign in to comment.