Changeset 3256 in josm for trunk/src


Ignore:
Timestamp:
2010-05-15T22:10:06+02:00 (15 years ago)
Author:
jttt
Message:

Fix #4697: Attempting to download data around a place name.

File:
1 edited

Legend:

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

    r3255 r3256  
    230230                    currentResult.name = atts.getValue("display_name");
    231231                    currentResult.description = currentResult.name;
    232                     currentResult.info = tr(atts.getValue("class"));
     232                    currentResult.info = atts.getValue("class");
     233                    if (currentResult.info != null) {
     234                        currentResult.info = tr(currentResult.info);
     235                    }
    233236                    currentResult.nearestPlace = tr(atts.getValue("type"));
    234237                    currentResult.lat = Double.parseDouble(atts.getValue("lat"));
Note: See TracChangeset for help on using the changeset viewer.