diff options
| author | Portree-Kid <keith.paterson@gmx.de> | 2012-11-05 09:02:37 +0100 |
|---|---|---|
| committer | Portree-Kid <keith.paterson@gmx.de> | 2012-11-05 09:02:37 +0100 |
| commit | 59302523bb393184da086909093b641d710d6d49 (patch) | |
| tree | 05641db68faec665e2ed111bf30b374d46a317d3 /main/src | |
| parent | b00c9e777e8dc3b6888a882f3f393125ccf87ee7 (diff) | |
| download | cgeo-59302523bb393184da086909093b641d710d6d49.zip cgeo-59302523bb393184da086909093b641d710d6d49.tar.gz cgeo-59302523bb393184da086909093b641d710d6d49.tar.bz2 | |
Filtering of Types for BM Fixes #1733
Diffstat (limited to 'main/src')
| -rw-r--r-- | main/src/cgeo/geocaching/connector/gc/GCMap.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/connector/gc/GCMap.java b/main/src/cgeo/geocaching/connector/gc/GCMap.java index c71b859..681a1d7 100644 --- a/main/src/cgeo/geocaching/connector/gc/GCMap.java +++ b/main/src/cgeo/geocaching/connector/gc/GCMap.java @@ -211,6 +211,9 @@ public class GCMap { if (Settings.isExcludeDisabledCaches() && cache.isDisabled()) { exclude = true; } + if (Settings.getCacheType() != CacheType.ALL && Settings.getCacheType() != cache.getType() && cache.getType() != CacheType.UNKNOWN) { // workaround for BM + exclude = true; + } if (!exclude) { searchResult.addCache(cache); } |
