Skip to content

Commit

Permalink
WMS Server: show native type in GetProjectSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Mar 4, 2014
1 parent 9b71d08 commit bf8ed47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mapserver/qgsprojectparser.cpp
Expand Up @@ -1573,6 +1573,7 @@ void QgsProjectParser::addLayerProjectSettings( QDomElement& layerElem, QDomDocu
QDomElement attributeElem = doc.createElement( "Attribute" );
attributeElem.setAttribute( "name", vLayer->attributeDisplayName( idx ) );
attributeElem.setAttribute( "type", QVariant::typeToName( field.type() ) );
attributeElem.setAttribute( "typeName", field.typeName() );

//edit type to text
QgsVectorLayer::EditType typeEnum = vLayer->editType( idx );
Expand Down

0 comments on commit bf8ed47

Please sign in to comment.