Changeset 5037 in josm for trunk/src/org


Ignore:
Timestamp:
2012-03-04T12:32:40+01:00 (8 years ago)
Author:
akks
Message:

Fix exceptions (0-node way) after using validator dialog doubleclick - see #6640

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/ValidatorDialog.java

    r5028 r5037  
    406406                hasFixes = hasFixes || error.isFixable();
    407407                if (addSelected) {
    408                     sel.addAll(error.getPrimitives());
     408//                    sel.addAll(error.getPrimitives()); // was selecting already deleted primitives! see #6640
     409                      sel.addAll(error.getSelectablePrimitives());
    409410                }
    410411            }
Note: See TracChangeset for help on using the changeset viewer.