Skip to content

Commit

Permalink
fix #3110
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@14376 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Oct 13, 2010
1 parent 7d9a9cd commit ec7117f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/legend/qgslegendlayer.cpp
Expand Up @@ -253,13 +253,13 @@ void QgsLegendLayer::vectorLayerSymbology( const QgsVectorLayer* layer, double w
{
img = ( *it )->getLineSymbolAsImage();
}
else if (( *it )->type() == QGis::Line )//polygon
else if (( *it )->type() == QGis::Polygon )
{
img = ( *it )->getPolygonSymbolAsImage();
}
else //must be a layer without geometry then
else
{

// must be a layer without geometry then
}

QString values;
Expand Down

0 comments on commit ec7117f

Please sign in to comment.