Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/composer/qgsnumericscalebarstyle.cpp
4 changes: 2 additions & 2 deletions src/core/composer/qgsnumericscalebarstyle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ QString QgsNumericScaleBarStyle::scaleText() const
if ( composerMap )
{
scaleDenominator = composerMap->scale();
scaleBarText = "1:" + QString::number( scaleDenominator, 'f', 0 );
scaleBarText = "1:" + QString( "%L1" ).arg( scaleDenominator, 0, 'f', 0 );
}
scaleBarText = "1:" + QString::number( scaleDenominator, 'f', 0 );
scaleBarText = "1:" + QString( "%L1" ).arg( scaleDenominator, 0, 'f', 0 );
}
return scaleBarText;
}