From caceb9389d10fe9513548d6f024ecedc4c564c03 Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Thu, 28 Aug 2014 10:50:05 +0200 Subject: fix #3569: concurrent modification when filtering caches on map --- main/src/cgeo/geocaching/maps/CGeoMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/src') diff --git a/main/src/cgeo/geocaching/maps/CGeoMap.java b/main/src/cgeo/geocaching/maps/CGeoMap.java index ad0bbcf..8e2bbd2 100644 --- a/main/src/cgeo/geocaching/maps/CGeoMap.java +++ b/main/src/cgeo/geocaching/maps/CGeoMap.java @@ -1151,7 +1151,7 @@ public class CGeoMap extends AbstractMap implements ViewFactory { final boolean excludeMine = Settings.isExcludeMyCaches(); final boolean excludeDisabled = Settings.isExcludeDisabledCaches(); if (mapMode == MapMode.LIVE) { - CGeoMap.filter(caches); + CGeoMap.filter(caches.getAsList()); } countVisibleCaches(); if (cachesCnt < Settings.getWayPointsThreshold() || geocodeIntent != null) { -- cgit v1.1