aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsudev <rasch@munin-soft.de>2014-06-19 00:40:51 +0200
committerrsudev <rasch@munin-soft.de>2014-06-19 00:40:51 +0200
commit967dc277bbac2c43e2d7162b8853aea65d66bb69 (patch)
treec250725ef35d87131c112f4bcca8a14209ee376d
parent764a9c50cd8b006c4ab8ab7b29a99e4023fb5e61 (diff)
parente901854869c4642b6e7d5eb1d3ef3313836d40ab (diff)
downloadcgeo-967dc277bbac2c43e2d7162b8853aea65d66bb69.zip
cgeo-967dc277bbac2c43e2d7162b8853aea65d66bb69.tar.gz
cgeo-967dc277bbac2c43e2d7162b8853aea65d66bb69.tar.bz2
Merge branch 'release'
Conflicts: main/src/cgeo/geocaching/CacheListActivity.java
-rw-r--r--main/src/cgeo/geocaching/CacheListActivity.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/CacheListActivity.java b/main/src/cgeo/geocaching/CacheListActivity.java
index 9e58edc..598171f 100644
--- a/main/src/cgeo/geocaching/CacheListActivity.java
+++ b/main/src/cgeo/geocaching/CacheListActivity.java
@@ -1065,6 +1065,13 @@ public class CacheListActivity extends AbstractListActivity implements FilteredA
}
}, true, StoredList.TEMPORARY_LIST_ID, newListName);
} else {
+ if (type != CacheListType.OFFLINE) {
+ for (final Geocache geocache : caches) {
+ if (geocache.getListId() == StoredList.TEMPORARY_LIST_ID) {
+ geocache.setListId(StoredList.STANDARD_LIST_ID);
+ }
+ }
+ }
refreshStoredInternal(caches);
}
}