Changeset 5780 in josm for trunk/src/org/openstreetmap/josm/actions/JumpToAction.java
- Timestamp:
- 2013-03-18T18:24:40+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/JumpToAction.java
r5670 r5780 114 114 zoomLvl = Double.parseDouble(zm.getText()); 115 115 ll = new LatLon(Double.parseDouble(lat.getText()), Double.parseDouble(lon.getText())); 116 } catch ( Exception ex) {116 } catch (NumberFormatException ex) { 117 117 JOptionPane.showMessageDialog(Main.parent, tr("Could not parse Latitude, Longitude or Zoom. Please check."), tr("Unable to parse Lon/Lat"), JOptionPane.ERROR_MESSAGE); 118 118 }
Note:
See TracChangeset
for help on using the changeset viewer.