Skip to content
Permalink
Browse files

WMS Server: show native type in GetProjectSettings

  • Loading branch information
mhugent committed Mar 4, 2014
1 parent 9b71d08 commit bf8ed4762bc5a88c8832ee17370935d859f53db3
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/mapserver/qgsprojectparser.cpp
@@ -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 );

0 comments on commit bf8ed47

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