Changeset 3334 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2010-06-16T08:12:19+02:00 (14 years ago)
Author:
stoecker
Message:

fix #5139 - exception for search

File:
1 edited

Legend:

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

    r3256 r3334  
    226226                        currentResult.nearestPlace = atts.getValue("name");
    227227                    }
    228                 } else if (qName.equals("place")) {
     228                } else if (qName.equals("place") && atts.getValue("lat") != null) {
    229229                    currentResult = new PlaceSelection.SearchResult();
    230230                    currentResult.name = atts.getValue("display_name");
Note: See TracChangeset for help on using the changeset viewer.