Navigation Menu

Skip to content

Commit

Permalink
Fix space inserted at start of graduated legend entries
Browse files Browse the repository at this point in the history
Fixes #21339
  • Loading branch information
nyalldawson committed Feb 24, 2019
1 parent 918f5f3 commit 0efa0b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/symbology/qgsgraduatedsymbolrenderer.cpp
Expand Up @@ -176,7 +176,7 @@ const int QgsRendererRangeLabelFormat::MAX_PRECISION = 15;
const int QgsRendererRangeLabelFormat::MIN_PRECISION = -6;

QgsRendererRangeLabelFormat::QgsRendererRangeLabelFormat()
: mFormat( QStringLiteral( " %1 - %2 " ) )
: mFormat( QStringLiteral( "%1 - %2" ) )
, mReTrailingZeroes( "[.,]?0*$" )
, mReNegativeZero( "^\\-0(?:[.,]0*)?$" )
{
Expand Down

0 comments on commit 0efa0b1

Please sign in to comment.