Skip to content

Commit

Permalink
fix retrieval of labeling settings for layers with ids with no ascii …
Browse files Browse the repository at this point in the history
…characters
  • Loading branch information
jef-n committed Jul 20, 2015
1 parent a37b3e2 commit e2df800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgspallabeling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3308,7 +3308,7 @@ int QgsPalLabeling::prepareLayer( QgsVectorLayer* layer, QStringList& attrNames,
// create the pal layer
double priority = 1 - lyr.priority / 10.0; // convert 0..10 --> 1..0

Layer* l = mPal->addLayer( layer->id().toUtf8().data(),
Layer* l = mPal->addLayer( layer->id(),
arrangement,
priority, lyr.obstacle, true, lyr.drawLabels,
lyr.displayAll );
Expand Down

0 comments on commit e2df800

Please sign in to comment.