Ticket #23680: 23680.patch
| File 23680.patch, 955 bytes (added by , 18 months ago) | 
|---|
- 
      src/org/openstreetmap/josm/actions/JumpToAction.java175 175 if (option != 1) return; 176 176 if (place.hasFocus() && !place.getText().trim().isEmpty()) { 177 177 try { 178 ll = LatLonParser.parse(place.getText()); 179 if (ll != null) 180 break; 181 } catch (IllegalArgumentException ex) { 182 Logging.info(ex); 183 } 184 try { 178 185 List<NameFinder.SearchResult> searchResults = NameFinder.queryNominatim(place.getText()); 179 186 if (!searchResults.isEmpty()) { 180 187 NameFinder.SearchResult searchResult = searchResults.get(0); 

