[QGIS Commit] r12409 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Dec 11 11:12:57 EST 2009


Author: jef
Date: 2009-12-11 11:12:56 -0500 (Fri, 11 Dec 2009)
New Revision: 12409

Modified:
   trunk/qgis/src/app/qgsidentifyresults.cpp
Log:
fix #2263

Modified: trunk/qgis/src/app/qgsidentifyresults.cpp
===================================================================
--- trunk/qgis/src/app/qgsidentifyresults.cpp	2009-12-11 15:46:21 UTC (rev 12408)
+++ trunk/qgis/src/app/qgsidentifyresults.cpp	2009-12-11 16:12:56 UTC (rev 12409)
@@ -612,7 +612,7 @@
 
   if ( lstResults->topLevelItemCount() == 0 )
   {
-    hide();
+    close();
   }
 }
 
@@ -649,6 +649,7 @@
     if ( featItem && featItem->data( 0, Qt::UserRole ).toInt() == fid )
     {
       delete mRubberBands.take( featItem );
+      delete featItem;
       break;
     }
   }
@@ -660,7 +661,7 @@
 
   if ( lstResults->topLevelItemCount() == 0 )
   {
-    hide();
+    close();
   }
 }
 



More information about the QGIS-commit mailing list