Skip to content

Commit

Permalink
Show display field in GetProjectSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Hugentobler committed Sep 7, 2012
1 parent 8ce752e commit 18d7790
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mapserver/qgsprojectparser.cpp
Expand Up @@ -413,8 +413,8 @@ void QgsProjectParser::addLayerProjectSettings( QDomElement& layerElem, QDomDocu
{
QgsVectorLayer* vLayer = static_cast<QgsVectorLayer*>( currentLayer );

//min/max scales for layer

//displayfield
layerElem.setAttribute( "displayField", vLayer->displayField() );

//attributes
QDomElement attributesElem = doc.createElement( "Attributes" );
Expand Down

0 comments on commit 18d7790

Please sign in to comment.