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@12409 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Dec 11, 2009
1 parent 48d5954 commit cb0fcfd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app/qgsidentifyresults.cpp
Original file line number Diff line number Diff line change
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 cb0fcfd

Please sign in to comment.