Skip to content
Permalink
Browse files

fix retrieval of labeling settings for layers with ids with no ascii …

…characters
  • Loading branch information
jef-n committed Jul 20, 2015
1 parent a37b3e2 commit e2df800f119639cd2911376255c882d576decdf1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgspallabeling.cpp
@@ -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 );

0 comments on commit e2df800

Please sign in to comment.
You can’t perform that action at this time.