Ignore:
Timestamp:
2013-03-18T18:24:40+01:00 (11 years ago)
Author:
akks
Message:

Patch by Lesath: usage of "," in simplify-way.max-error
(all the numbers in "," in preferences are considered = 0)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/JumpToAction.java

    r5670 r5780  
    114114                zoomLvl = Double.parseDouble(zm.getText());
    115115                ll = new LatLon(Double.parseDouble(lat.getText()), Double.parseDouble(lon.getText()));
    116             } catch (Exception ex) {
     116            } catch (NumberFormatException ex) {
    117117                JOptionPane.showMessageDialog(Main.parent, tr("Could not parse Latitude, Longitude or Zoom. Please check."), tr("Unable to parse Lon/Lat"), JOptionPane.ERROR_MESSAGE);
    118118            }
Note: See TracChangeset for help on using the changeset viewer.