Merge pull request #2716 from SebDieBln/LoadShowPlusSign

[Bugfix] Correctly load the labeling-setting to show a plus-sign next to numbers (fixes #13474)
This commit is contained in:
Jürgen Fischer 2016-01-24 02:50:56 +01:00
commit 1dc8fc3c4e

View File

@ -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();