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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Aug 12 17:03:07 EDT 2009


Author: homann
Date: 2009-08-12 17:03:07 -0400 (Wed, 12 Aug 2009)
New Revision: 11361

Modified:
   trunk/qgis/src/app/legend/qgslegendlayer.cpp
Log:
If it works, it must be one of the easiest fixes. See #1860

Modified: trunk/qgis/src/app/legend/qgslegendlayer.cpp
===================================================================
--- trunk/qgis/src/app/legend/qgslegendlayer.cpp	2009-08-12 20:07:44 UTC (rev 11360)
+++ trunk/qgis/src/app/legend/qgslegendlayer.cpp	2009-08-12 21:03:07 UTC (rev 11361)
@@ -393,6 +393,8 @@
   itemList.push_back( std::make_pair( "", legendpixmap ) );
 
   changeSymbologySettings( layer, itemList );
+
+  updateIcon();
 }
 
 void QgsLegendLayer::updateIcon()



More information about the QGIS-commit mailing list