Skip to content

Commit df4c0c1

Browse files
committedJan 24, 2016
fix loading the labeling-setting to show a plus-sign next to numbers
(fixes #13474)
1 parent e83a7c8 commit df4c0c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgspallabeling.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ void QgsPalLayerSettings::readFromLayer( QgsVectorLayer* layer )
851851
placeDirectionSymbol = static_cast< DirectionSymbols >( layer->customProperty( "labeling/placeDirectionSymbol", QVariant( SymbolLeftRight ) ).toUInt() );
852852
formatNumbers = layer->customProperty( "labeling/formatNumbers" ).toBool();
853853
decimals = layer->customProperty( "labeling/decimals" ).toInt();
854-
plusSign = layer->customProperty( "labeling/plussign" ).toInt();
854+
plusSign = layer->customProperty( "labeling/plussign" ).toBool();
855855

856856
// text buffer
857857
double bufSize = layer->customProperty( "labeling/bufferSize", QVariant( 0.0 ) ).toDouble();

0 commit comments

Comments
 (0)
Please sign in to comment.