Skip to content

Commit cb0fcfd

Browse files
author
jef
committedDec 11, 2009
fix #2263
git-svn-id: http://svn.osgeo.org/qgis/trunk@12409 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 48d5954 commit cb0fcfd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎src/app/qgsidentifyresults.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ void QgsIdentifyResults::layerDestroyed()
612612

613613
if ( lstResults->topLevelItemCount() == 0 )
614614
{
615-
hide();
615+
close();
616616
}
617617
}
618618

@@ -649,6 +649,7 @@ void QgsIdentifyResults::featureDeleted( int fid )
649649
if ( featItem && featItem->data( 0, Qt::UserRole ).toInt() == fid )
650650
{
651651
delete mRubberBands.take( featItem );
652+
delete featItem;
652653
break;
653654
}
654655
}
@@ -660,7 +661,7 @@ void QgsIdentifyResults::featureDeleted( int fid )
660661

661662
if ( lstResults->topLevelItemCount() == 0 )
662663
{
663-
hide();
664+
close();
664665
}
665666
}
666667

0 commit comments

Comments
 (0)
Please sign in to comment.