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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Dec 9 13:08:06 EST 2009


Author: jef
Date: 2009-12-09 13:08:00 -0500 (Wed, 09 Dec 2009)
New Revision: 12387

Modified:
   trunk/qgis/src/app/qgsidentifyresults.cpp
Log:
also remove highlights when identify results is closed with the close button (fixes #2206)

Modified: trunk/qgis/src/app/qgsidentifyresults.cpp
===================================================================
--- trunk/qgis/src/app/qgsidentifyresults.cpp	2009-12-09 17:17:34 UTC (rev 12386)
+++ trunk/qgis/src/app/qgsidentifyresults.cpp	2009-12-09 18:08:00 UTC (rev 12387)
@@ -109,7 +109,7 @@
   setColumnText( 0, tr( "Feature" ) );
   setColumnText( 1, tr( "Value" ) );
 
-  connect( buttonBox, SIGNAL( clicked() ), this, SLOT( close() ) );
+  connect( buttonBox, SIGNAL( rejected() ), this, SLOT( close() ) );
 
   connect( lstResults, SIGNAL( itemExpanded( QTreeWidgetItem* ) ),
            this, SLOT( itemExpanded( QTreeWidgetItem* ) ) );



More information about the QGIS-commit mailing list