X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=tim%2Fprune%2Fundo%2FUndoInsert.java;h=f23892126824a01849c83be9fb4adf8ab40fa117;hb=4d5796d02a15808311c09448d79e6e7d1de9d636;hp=1b3f3ef9077746e51ad3d723cc442dc36ad373a3;hpb=54b9d8bc8f0025ccf97a67d9dd217ef1f9cf082f;p=GpsPrune.git diff --git a/tim/prune/undo/UndoInsert.java b/tim/prune/undo/UndoInsert.java index 1b3f3ef..f238921 100644 --- a/tim/prune/undo/UndoInsert.java +++ b/tim/prune/undo/UndoInsert.java @@ -5,7 +5,7 @@ import tim.prune.data.DataPoint; import tim.prune.data.TrackInfo; /** - * Operation to undo an insertion (eg interpolate, average) + * Operation to undo an insertion (eg average) */ public class UndoInsert implements UndoOperation { @@ -76,6 +76,6 @@ public class UndoInsert implements UndoOperation if (nextPoint != null) {nextPoint.setSegmentStart(_segmentFlag);} } // reset selection - inTrackInfo.getSelection().select(_startPosition-1, _startPosition-1, _startPosition); + inTrackInfo.getSelection().clearAll(); } } \ No newline at end of file