[QGIS Commit] r12586 - trunk/qgis/src/app/legend

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Dec 22 16:45:17 EST 2009


Author: jef
Date: 2009-12-22 16:45:15 -0500 (Tue, 22 Dec 2009)
New Revision: 12586

Modified:
   trunk/qgis/src/app/legend/qgslegend.cpp
Log:
fix #2312

Modified: trunk/qgis/src/app/legend/qgslegend.cpp
===================================================================
--- trunk/qgis/src/app/legend/qgslegend.cpp	2009-12-22 21:07:32 UTC (rev 12585)
+++ trunk/qgis/src/app/legend/qgslegend.cpp	2009-12-22 21:45:15 UTC (rev 12586)
@@ -1055,6 +1055,7 @@
 
   //set the layer type icon
   ll->updateIcon();
+  ll->setToolTip( 0, theMapLayer->publicSource() );
 
   // setup connections that will update the layer icons
   if ( qobject_cast<QgsVectorLayer *>( theMapLayer ) )



More information about the QGIS-commit mailing list