From df4c0c1247cfd94d645a2cadae9d1d5024275dfb Mon Sep 17 00:00:00 2001 From: Sebastian Dietrich Date: Sun, 24 Jan 2016 01:13:05 +0100 Subject: [PATCH] fix loading the labeling-setting to show a plus-sign next to numbers (fixes #13474) --- src/core/qgspallabeling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/qgspallabeling.cpp b/src/core/qgspallabeling.cpp index 7bfc7644810..4e4c6be1275 100644 --- a/src/core/qgspallabeling.cpp +++ b/src/core/qgspallabeling.cpp @@ -851,7 +851,7 @@ void QgsPalLayerSettings::readFromLayer( QgsVectorLayer* layer ) placeDirectionSymbol = static_cast< DirectionSymbols >( layer->customProperty( "labeling/placeDirectionSymbol", QVariant( SymbolLeftRight ) ).toUInt() ); formatNumbers = layer->customProperty( "labeling/formatNumbers" ).toBool(); decimals = layer->customProperty( "labeling/decimals" ).toInt(); - plusSign = layer->customProperty( "labeling/plussign" ).toInt(); + plusSign = layer->customProperty( "labeling/plussign" ).toBool(); // text buffer double bufSize = layer->customProperty( "labeling/bufferSize", QVariant( 0.0 ) ).toDouble();