[editor] Fixed building addresses editing.

This commit is contained in:
Alex Zolotarev 2016-03-04 17:15:16 +03:00 committed by Sergey Yershov
parent 7e0fc7ea18
commit aca1e1000b
2 changed files with 7 additions and 1 deletions

View file

@ -124,6 +124,12 @@
</fields>
<types>
<type id="building" can_add="no">
<include field="street" />
<include field="housename" />
<include field="housenumber" />
<include field="postcode" />
</type>
<type id="aeroway-aerodrome" editable="no">
<include group="poi" />
<include field="ele" />

View file

@ -55,7 +55,7 @@ bool TypeDescriptionFromXml(pugi::xml_node const & root, pugi::xml_node const &
return;
}
if (fieldName == "street" || fieldName == "housenumber")
if (fieldName == "street" || fieldName == "housenumber" || fieldName == "housename")
{
outDesc.m_address = true;
return;