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 f7f8eb8 commit 28cdd9789e8fc1b01e76d7422eb1233dad751bcb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology/qgsgraduatedsymbolrenderer.cpp
@@ -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*)?$" )
{

0 comments on commit 28cdd97

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