Skip to content
Permalink
Browse files

Fix space inserted at start of graduated legend entries

Fixes #21339
  • Loading branch information
nyalldawson committed Feb 24, 2019
1 parent 918f5f3 commit 0efa0b1dde5243be7970bda1be806d101165565f
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 0efa0b1

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