From e901854869c4642b6e7d5eb1d3ef3313836d40ab Mon Sep 17 00:00:00 2001 From: rsudev Date: Wed, 18 Jun 2014 23:58:59 +0200 Subject: Fixes #4013, Caches vanish from lists when storing them --- main/src/cgeo/geocaching/CacheListActivity.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'main/src') diff --git a/main/src/cgeo/geocaching/CacheListActivity.java b/main/src/cgeo/geocaching/CacheListActivity.java index 0aec119..053798e 100644 --- a/main/src/cgeo/geocaching/CacheListActivity.java +++ b/main/src/cgeo/geocaching/CacheListActivity.java @@ -1027,7 +1027,11 @@ public class CacheListActivity extends AbstractListActivity implements FilteredA } }, true, StoredList.TEMPORARY_LIST_ID, newListName); } else { - refreshStored(caches, this.listId); + if (type != CacheListType.OFFLINE) { + refreshStored(caches, StoredList.STANDARD_LIST_ID); + } else { + refreshStored(caches, this.listId); + } } } -- cgit v1.1