diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2014-08-28 10:50:05 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2014-08-28 10:50:05 +0200 |
| commit | caceb9389d10fe9513548d6f024ecedc4c564c03 (patch) | |
| tree | f6777ce0c686a80e047f10f64e78a8a5209ffc19 | |
| parent | 723ed6bcc3d318cba96306f812f3c1242492cc48 (diff) | |
| download | cgeo-caceb9389d10fe9513548d6f024ecedc4c564c03.zip cgeo-caceb9389d10fe9513548d6f024ecedc4c564c03.tar.gz cgeo-caceb9389d10fe9513548d6f024ecedc4c564c03.tar.bz2 | |
fix #3569: concurrent modification when filtering caches on map
| -rw-r--r-- | main/src/cgeo/geocaching/maps/CGeoMap.java | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
