Changeset 7112 in josm for trunk/src


Ignore:
Timestamp:
2014-05-12T21:45:02+02:00 (6 years ago)
Author:
simon04
Message:

fix #9880 - Recognise building=(!yes) relations as buildings (name formatter)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/DefaultNameFormatter.java

    r7098 r7112  
    461461        } else if (nameTag.startsWith("?") && OsmUtils.isFalse(relation.get(nameTag.substring(1)))) {
    462462            return null;
     463        } else if (nameTag.startsWith("?")) {
     464            return trc_lazy(nameTag, I18n.escape(relation.get(nameTag.substring(1))));
    463465        } else {
    464466            return trc_lazy(nameTag, I18n.escape(relation.get(nameTag)));
Note: See TracChangeset for help on using the changeset viewer.