Skip to content

Commit

Permalink
Fix for showing incorrect symbol type when creating legend entries fo…
Browse files Browse the repository at this point in the history
…llowing recent api updates

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9494 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Oct 19, 2008
1 parent 9679c5a commit 1fb00d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/legend/qgslegendlayer.cpp
Expand Up @@ -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" );
Expand Down

0 comments on commit 1fb00d5

Please sign in to comment.