aboutsummaryrefslogtreecommitdiffstats
path: root/main/src
diff options
context:
space:
mode:
authorrsudev <rasch@munin-soft.de>2012-12-11 00:25:00 +0100
committerrsudev <rasch@munin-soft.de>2012-12-11 00:25:00 +0100
commit16b21061eb0be6c0cfd09b281f199e6e19608627 (patch)
treef61b69d83bda2bb1e9af8ef4b197d4996a30359a /main/src
parent4e429cdbc19145c5435bbbd85e1c2acd4e44fada (diff)
downloadcgeo-16b21061eb0be6c0cfd09b281f199e6e19608627.zip
cgeo-16b21061eb0be6c0cfd09b281f199e6e19608627.tar.gz
cgeo-16b21061eb0be6c0cfd09b281f199e6e19608627.tar.bz2
Fixes #2232, own and found caches are visible on live map
Own/found cache filtering was only active on live-map in live-mode, not in non-live-mode
Diffstat (limited to 'main/src')
-rw-r--r--main/src/cgeo/geocaching/maps/CGeoMap.java2
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 3e136b7..6856a63 100644
--- a/main/src/cgeo/geocaching/maps/CGeoMap.java
+++ b/main/src/cgeo/geocaching/maps/CGeoMap.java
@@ -1142,7 +1142,7 @@ public class CGeoMap extends AbstractMap implements OnMapDragListener, ViewFacto
caches.removeAll(cachesFromSearchResult);
caches.addAll(cachesFromSearchResult);
- if (isLiveEnabled) {
+ if (mapMode == MapMode.LIVE) {
final boolean excludeMine = Settings.isExcludeMyCaches();
final boolean excludeDisabled = Settings.isExcludeDisabledCaches();