aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPortree-Kid <keith.paterson@gmx.de>2013-02-14 18:19:46 +0100
committerPortree-Kid <keith.paterson@gmx.de>2013-02-17 22:03:48 +0100
commit7aa68e3fa78a1e59b21f3e923d2a96003e76a79b (patch)
tree9c4946d5c84d45660039f8f01b0ce3dbb1549a59
parenta268af51bcf2ddec2ab4631c6d0aedbd51811ec2 (diff)
downloadcgeo-7aa68e3fa78a1e59b21f3e923d2a96003e76a79b.zip
cgeo-7aa68e3fa78a1e59b21f3e923d2a96003e76a79b.tar.gz
cgeo-7aa68e3fa78a1e59b21f3e923d2a96003e76a79b.tar.bz2
We don't want to see any stale waypoints if we are showing more than the
threshold of caches. fixes #2479
-rw-r--r--main/src/cgeo/geocaching/maps/CGeoMap.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/maps/CGeoMap.java b/main/src/cgeo/geocaching/maps/CGeoMap.java
index c917a37..c9f1166 100644
--- a/main/src/cgeo/geocaching/maps/CGeoMap.java
+++ b/main/src/cgeo/geocaching/maps/CGeoMap.java
@@ -1132,6 +1132,10 @@ public class CGeoMap extends AbstractMap implements OnMapDragListener, ViewFacto
}
}
}
+ else {
+ // we don't want to see any stale waypoints any more fixes #2479
+ waypoints.clear();
+ }
//render
displayExecutor.execute(new DisplayRunnable(viewport));