Skip to content
Permalink
Browse files
Fix for showing incorrect symbol type when creating legend entries fo…
…llowing recent api updates

git-svn-id: http://svn.osgeo.org/qgis/trunk@9494 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Oct 19, 2008
1 parent a8daacf commit a896fee415f8242084c0b2a381e487aef18de38e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/legend/qgslegendlayer.cpp
@@ -439,7 +439,7 @@ QPixmap QgsLegendLayer::getOriginalPixmap() const
if ( firstLayer->type() == QgsMapLayer::VectorLayer )
{
QgsVectorLayer* vlayer = dynamic_cast<QgsVectorLayer*>( firstLayer );
switch ( vlayer->type() )
switch ( vlayer->geometryType() )
{
case QGis::Point:
return QgisApp::getThemePixmap( "/mIconPointLayer.png" );

0 comments on commit a896fee

Please sign in to comment.