Skip to content

Commit 29e6549

Browse files
author
jef
committedJul 10, 2009
don't show ranges for unique values in legend
git-svn-id: http://svn.osgeo.org/qgis/trunk@11037 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 9ae7f88 commit 29e6549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/legend/qgslegendlayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ void QgsLegendLayer::vectorLayerSymbology( const QgsVectorLayer* layer, double w
346346
values += lw;
347347
}
348348
uv = ( *it )->upperValue();
349-
if ( !uv.isEmpty() )
349+
if ( !uv.isEmpty() && lw != uv )
350350
{
351351
values += " - ";
352352
values += uv;

0 commit comments

Comments
 (0)
Please sign in to comment.