Ticket #23442: 23442.patch
File 23442.patch, 956 bytes (added by , 15 months ago) |
---|
-
src/org/openstreetmap/josm/actions/FollowLineAction.java
35 35 * @author Germán Márquez Mejía 36 36 */ 37 37 public class FollowLineAction extends JosmAction { 38 38 private transient Node oldLast; 39 39 /** 40 40 * Constructs a new {@code FollowLineAction}. 41 41 */ … … 75 75 Node last = ((DrawAction) map.mapMode).getCurrentBaseNode(); 76 76 if (last == null) 77 77 return; 78 if (oldLast == last) { 79 return; // see #23442: DrawAction did not yet process previously added select action 80 } 81 oldLast = last; 78 82 Way follower = selectedLines.iterator().next(); 79 83 if (follower.isClosed()) /* Don't loop until OOM */ 80 84 return;