Skip to content

Commit

Permalink
Merge pull request #2716 from SebDieBln/LoadShowPlusSign
Browse files Browse the repository at this point in the history
[Bugfix] Correctly load the labeling-setting to show a plus-sign next to numbers (fixes #13474)
  • Loading branch information
jef-n committed Jan 24, 2016
2 parents 764c649 + df4c0c1 commit 1dc8fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgspallabeling.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit 1dc8fc3

Please sign in to comment.