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

(cherry picked from commit 0efa0b1)
  • Loading branch information
nyalldawson committed Feb 26, 2019
1 parent f7f8eb8 commit 28cdd97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/symbology/qgsgraduatedsymbolrenderer.cpp
Expand Up @@ -175,7 +175,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 28cdd97

Please sign in to comment.