mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
fix for writing labels to xml
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2330 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
d9174c526d
commit
5171780c57
@ -170,7 +170,7 @@ void QgsUValDialog::apply()
|
||||
QgsSymbol* newsymbol=new QgsSymbol();
|
||||
newsymbol->setPen(symbol->pen());
|
||||
newsymbol->setBrush(symbol->brush());
|
||||
QgsRenderItem* ritem=new QgsRenderItem(newsymbol,it->first,"");
|
||||
QgsRenderItem* ritem=new QgsRenderItem(newsymbol,it->first,it->second->label());
|
||||
renderer->insertValue(it->first,ritem);
|
||||
//find out the width of the string
|
||||
valuewidth=fm.width(it->first);
|
||||
|
Loading…
x
Reference in New Issue
Block a user