Changeset 2546 in josm


Ignore:
Timestamp:
2009-11-29T13:28:43+01:00 (15 years ago)
Author:
Gubaer
Message:

fixed wrong data range check in AddNodeAction

File:
1 edited

Legend:

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

    r2545 r2546  
    233233        protected Double parseLonFromUserInput() {
    234234            Double d = parseDoubleFromUserInput(tfLon.getText());
    235             if (d == null || ! LatLon.isValidLat(d)) {
     235            if (d == null || ! LatLon.isValidLon(d)) {
    236236                setErrorFeedback(tfLon, tr("Please enter a valid longitude in the range -180..180"));
    237237                return null;
Note: See TracChangeset for help on using the changeset viewer.