diff options
author | blafoo <github@blafoo.de> | 2012-01-15 19:41:51 +0100 |
---|---|---|
committer | blafoo <github@blafoo.de> | 2012-01-15 19:42:30 +0100 |
commit | cf84dafad27dd8e0f9e9ed5058e057a2198ead77 (patch) | |
tree | 3476a9e272f2f8b17696a097128c906dc6ff7629 /main/src/cgeo/geocaching/cgeocaches.java | |
parent | 7f421d30592e66d256f511d54a4600154d3533b8 (diff) | |
download | cgeo-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.java | 2 |
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(); |