diff options
| author | rsudev <rasch@munin-soft.de> | 2014-05-03 21:24:41 +0200 |
|---|---|---|
| committer | rsudev <rasch@munin-soft.de> | 2014-05-03 21:24:41 +0200 |
| commit | 1b089e06ca145842edf1717bef4dd6a25fcd88e0 (patch) | |
| tree | b4cd6109fd81c1a648a22588d7c73c0197eb9e22 /main/src/cgeo/geocaching/maps/CGeoMap.java | |
| parent | 73a6f622ec617a95ab1969ad1b4135e20f296030 (diff) | |
| download | cgeo-1b089e06ca145842edf1717bef4dd6a25fcd88e0.zip cgeo-1b089e06ca145842edf1717bef4dd6a25fcd88e0.tar.gz cgeo-1b089e06ca145842edf1717bef4dd6a25fcd88e0.tar.bz2 | |
Fixes #3698, Archived caches still shown on map
- filter archived as disabled on map
- their waypoints as well
- use disabled icon for archived on static maps
- filter archived alongside disabled in SearchResult
Diffstat (limited to 'main/src/cgeo/geocaching/maps/CGeoMap.java')
| -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 00aee36..723cc12 100644 --- a/main/src/cgeo/geocaching/maps/CGeoMap.java +++ b/main/src/cgeo/geocaching/maps/CGeoMap.java @@ -1373,7 +1373,7 @@ public class CGeoMap extends AbstractMap implements OnMapDragListener, ViewFacto List<Geocache> removeList = new ArrayList<Geocache>(); for (Geocache cache : caches) { - if ((excludeMine && cache.isFound()) || (excludeMine && cache.isOwner()) || (excludeDisabled && cache.isDisabled())) { + if ((excludeMine && cache.isFound()) || (excludeMine && cache.isOwner()) || (excludeDisabled && cache.isDisabled()) || (excludeDisabled && cache.isArchived())) { removeList.add(cache); } } |
