aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/cgeocaches.java
diff options
context:
space:
mode:
authorblafoo <github@blafoo.de>2012-01-15 19:41:51 +0100
committerblafoo <github@blafoo.de>2012-01-15 19:42:30 +0100
commitcf84dafad27dd8e0f9e9ed5058e057a2198ead77 (patch)
tree3476a9e272f2f8b17696a097128c906dc6ff7629 /main/src/cgeo/geocaching/cgeocaches.java
parent7f421d30592e66d256f511d54a4600154d3533b8 (diff)
downloadcgeo-cf84dafad27dd8e0f9e9ed5058e057a2198ead77.zip
cgeo-cf84dafad27dd8e0f9e9ed5058e057a2198ead77.tar.gz
cgeo-cf84dafad27dd8e0f9e9ed5058e057a2198ead77.tar.bz2
Refresh not just standard list but all lists. Fixes #984
Diffstat (limited to 'main/src/cgeo/geocaching/cgeocaches.java')
-rw-r--r--main/src/cgeo/geocaching/cgeocaches.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/cgeocaches.java b/main/src/cgeo/geocaching/cgeocaches.java
index aa90336..0e5983f 100644
--- a/main/src/cgeo/geocaching/cgeocaches.java
+++ b/main/src/cgeo/geocaching/cgeocaches.java
@@ -722,7 +722,7 @@ public class cgeocaches extends AbstractListActivity {
}
// refresh standard list if it has changed (new caches downloaded)
- if (type == CacheListType.OFFLINE && listId == StoredList.STANDARD_LIST_ID && search != null) {
+ if (type == CacheListType.OFFLINE && listId >= StoredList.STANDARD_LIST_ID && search != null) {
SearchResult newSearch = cgBase.searchByOffline(coords, cacheType, listId);
if (newSearch != null && newSearch.totalCnt != search.totalCnt) {
refreshCurrentList();