diff options
| -rw-r--r-- | main/src/cgeo/geocaching/Waypoint.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/Waypoint.java b/main/src/cgeo/geocaching/Waypoint.java index 5b1ecab..8209b32 100644 --- a/main/src/cgeo/geocaching/Waypoint.java +++ b/main/src/cgeo/geocaching/Waypoint.java @@ -77,6 +77,9 @@ public class Waypoint implements IWaypoint, Comparable<Waypoint> { note = old.note; } } + if (id < 0) { + id = old.id; + } } public static void mergeWayPoints(List<Waypoint> newPoints, |
