Changeset 4807 in josm for trunk/src


Ignore:
Timestamp:
2012-01-17T10:29:14+01:00 (8 years ago)
Author:
akks
Message:

Fix: Building address was not displayed in 'selected' list (regression from 4744)

File:
1 edited

Legend:

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

    r4744 r4807  
    226226                                (way.get("railway") != null) ? tr("railway") :
    227227                                    (way.get("waterway") != null) ? tr("waterway") :
    228                                         (way.get("building") != null) ? tr("building") :
    229228                                            (way.get("landuse") != null) ? tr("landuse") : null;
    230229                }
     
    249248                    }
    250249                }
     250                if(n == null && way.get("building") != null) n = tr("building");
    251251                if(n == null || n.length() == 0) {
    252252                    n = String.valueOf(way.getId());
Note: See TracChangeset for help on using the changeset viewer.