aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsudev <rasch@munin-soft.de>2014-06-18 23:58:59 +0200
committerrsudev <rasch@munin-soft.de>2014-06-18 23:59:54 +0200
commite901854869c4642b6e7d5eb1d3ef3313836d40ab (patch)
tree8bc949e456f465c53e00d2ee0ceaa41d98c3168d
parente6fdba06ff376aa511ce7aa0750160d1cb611a4a (diff)
downloadcgeo-e901854869c4642b6e7d5eb1d3ef3313836d40ab.zip
cgeo-e901854869c4642b6e7d5eb1d3ef3313836d40ab.tar.gz
cgeo-e901854869c4642b6e7d5eb1d3ef3313836d40ab.tar.bz2
Fixes #4013, Caches vanish from lists when storing them
-rw-r--r--main/src/cgeo/geocaching/CacheListActivity.java6
1 files changed, 5 insertions, 1 deletions
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);
+ }
}
}