Skip to content

Commit

Permalink
don't show ranges for unique values in legend
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11037 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jul 10, 2009
1 parent b3d9a93 commit b3522d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/legend/qgslegendlayer.cpp
Expand Up @@ -346,7 +346,7 @@ void QgsLegendLayer::vectorLayerSymbology( const QgsVectorLayer* layer, double w
values += lw;
}
uv = ( *it )->upperValue();
if ( !uv.isEmpty() )
if ( !uv.isEmpty() && lw != uv )
{
values += " - ";
values += uv;
Expand Down

0 comments on commit b3522d7

Please sign in to comment.