aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/maps/CGeoMap.java
diff options
context:
space:
mode:
authorkoem <koem@petoria.de>2013-02-13 00:59:35 +1300
committerkoem <koem@petoria.de>2013-02-13 00:59:35 +1300
commit6d450d980283b81e09fa774651c27ac77d229eb8 (patch)
treecbede16c1ef0f2de94efedc7c9a20c86b6905265 /main/src/cgeo/geocaching/maps/CGeoMap.java
parent39a805880af44c2ecf963e39d9f2837ab8035731 (diff)
parent70251c24f5fafeeb150a2142249245e9515f560b (diff)
downloadcgeo-6d450d980283b81e09fa774651c27ac77d229eb8.zip
cgeo-6d450d980283b81e09fa774651c27ac77d229eb8.tar.gz
cgeo-6d450d980283b81e09fa774651c27ac77d229eb8.tar.bz2
Merge branch 'master' into chooselist
Diffstat (limited to 'main/src/cgeo/geocaching/maps/CGeoMap.java')
-rw-r--r--main/src/cgeo/geocaching/maps/CGeoMap.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/maps/CGeoMap.java b/main/src/cgeo/geocaching/maps/CGeoMap.java
index 5df0845..c917a37 100644
--- a/main/src/cgeo/geocaching/maps/CGeoMap.java
+++ b/main/src/cgeo/geocaching/maps/CGeoMap.java
@@ -495,6 +495,8 @@ public class CGeoMap extends AbstractMap implements OnMapDragListener, ViewFacto
for (String geocode : dirtyCaches) {
Geocache cache = cgData.loadCache(geocode, LoadFlags.LOAD_WAYPOINTS);
if (cache != null) {
+ // new collection type needs to remove first
+ caches.remove(cache);
// re-add to update the freshness
caches.add(cache);
}