Skip to content
Permalink
Browse files

Fix space inserted at start of graduated legend entries

Fixes #21339

(cherry picked from commit 0efa0b1)
  • Loading branch information
nyalldawson committed Feb 24, 2019
1 parent 1867423 commit 201fdce29bf1f0cf2ff2d9a021360867b06939c2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology/qgsgraduatedsymbolrenderer.cpp
@@ -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*)?$" )
{

0 comments on commit 201fdce

Please sign in to comment.
You can’t perform that action at this time.